Commit 06f826b5 authored by anarcat's avatar anarcat

cleanup the release script

parent 517ace77
......@@ -85,7 +85,7 @@ sed -i'.tmp' -e"s/AEGIR_VERSION=.*$/AEGIR_VERSION=\"$version\"/" upgrade.sh.txt
echo resulting changes to be committed:
git diff --cached | cat
if prompt_yes_no "commit changes and tag release? (y/N) "; then
if prompt_yes_no "commit changes and tag release?"; then
echo okay, committing...
else
echo 'aborting, leaving changes in git staging area'
......@@ -101,7 +101,7 @@ git tag -a $version
echo reverting tree to HEAD versions
git revert $commitid
if prompt_yes_no "push tags and commits upstream? (y/N) "; then
if prompt_yes_no "push tags and commits upstream? "; then
# this makes sure we push the commit *and* the tag
git push --tags origin HEAD
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment