Modify release script to not commit stuff.

This commit is contained in:
Daniel Kraus
2015-02-05 20:47:24 +01:00
parent 8492b9d921
commit c8ae7f8143

View File

@ -16,13 +16,13 @@ FILENAME="release/LinkTitles-$1.tar.gz"
# root path "LinktTitles".
tar cvzf $FILENAME gpl-*.txt README.md NEWS *.php --exclude '*~' --transform 's,^,LinkTitles/,'
if [[ $? -eq 0 ]]; then
# Add the tarball to the repository, commit it, then tag the commit and push to origin.
git add $FILENAME
git commit -m --amend
git tag -a $1 -m "Version $1."
git push
git push --tags
else
echo "tar had errors, did not push."
fi
# if [[ $? -eq 0 ]]; then
# # Add the tarball to the repository, commit it, then tag the commit and push to origin.
# git add $FILENAME
# git commit -m --amend
# git tag -a $1 -m "Version $1."
# git push
# git push --tags
# else
# echo "tar had errors, did not push."
# fi