mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Modify release script to not commit stuff.
This commit is contained in:
20
release.sh
20
release.sh
@ -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
|
||||
|
Reference in New Issue
Block a user