diff --git a/release.sh b/release.sh index 7f0cda0..c852b76 100755 --- a/release.sh +++ b/release.sh @@ -19,7 +19,7 @@ tar cvzf $FILENAME gpl-*.txt README.md NEWS *.php --exclude '*~' --transform 's, 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 "Release version $1" + git commit -m --amend git tag -a $1 -m "Version $1." git push git push --tags