Added utils/make_tarball.sh script

This commit is contained in:
Albert Santoni 2015-04-07 19:06:27 -04:00
parent 70e812d888
commit e8c333857e
1 changed files with 7 additions and 0 deletions

7
utils/make_tarball.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ -z "${1}" ]; then
echo "Usage: make_tarball.sh git_tag"
exit
fi
GIT_TAG=${1}
git archive ${GIT_TAG} --prefix ${GIT_TAG}/ -o "${GIT_TAG}".tar.gz