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".
|
# root path "LinktTitles".
|
||||||
tar cvzf $FILENAME gpl-*.txt README.md NEWS *.php --exclude '*~' --transform 's,^,LinkTitles/,'
|
tar cvzf $FILENAME gpl-*.txt README.md NEWS *.php --exclude '*~' --transform 's,^,LinkTitles/,'
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]; then
|
# if [[ $? -eq 0 ]]; then
|
||||||
# Add the tarball to the repository, commit it, then tag the commit and push to origin.
|
# # Add the tarball to the repository, commit it, then tag the commit and push to origin.
|
||||||
git add $FILENAME
|
# git add $FILENAME
|
||||||
git commit -m --amend
|
# git commit -m --amend
|
||||||
git tag -a $1 -m "Version $1."
|
# git tag -a $1 -m "Version $1."
|
||||||
git push
|
# git push
|
||||||
git push --tags
|
# git push --tags
|
||||||
else
|
# else
|
||||||
echo "tar had errors, did not push."
|
# echo "tar had errors, did not push."
|
||||||
fi
|
# fi
|
||||||
|
Reference in New Issue
Block a user