Automating tar ball creation

This commit is contained in:
Daniel Kraus
2012-05-20 13:38:17 +02:00
parent 20e5a284cf
commit b36f5bb1dd
4 changed files with 11 additions and 1 deletions

7
release.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
# This script packs the relevant files of the LinkTitles
# extension into two archive files that contain the current
# git tag as the version number.
tar cvzf release/LinkTitles-`git describe --tags`.tar.gz gpl-*.txt LinkTitles.* --exclude '*~' --transform 's,^,LinkTitles/,'