Skip to content

Commit

Permalink
master: new_release.sh: Some untested improvements to instructions an…
Browse files Browse the repository at this point in the history
…d check_all.
  • Loading branch information
bradbell committed May 31, 2024
1 parent 221b076 commit 69e2b71
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bin/new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ then
echo "bin/new_release: local and remote $stable_branch differ."
echo "local $stable_local_hash"
echo "remote $stable_remote_hash"
echo 'try git push ?'
echo 'Use "git push" to fix this ?'
echo 'If so, check the result for the corresponding actions on'
echo 'https://github.com/coin-or/CppAD/actions'
exit 1
fi
#
Expand All @@ -184,7 +186,7 @@ then
echo 'bin/new_release.sh: local and remote master differ'
echo "local $master_local_hash"
echo "remote $master_remote_hash"
echo 'try git checkout master; git push'
echo 'Use "git checkout master; git push" to fix this ?'
exit 1
fi
#
Expand All @@ -196,7 +198,7 @@ do
done
if [ "$response" == 'check' ]
then
bin/check_all.sh
bin/check_all.sh mixed
else
echo "git tag -a -m 'created by new_release.sh' $tag $stable_remote_hash"
git tag -a -m 'created by new_release.sh' $tag $stable_remote_hash
Expand Down

0 comments on commit 69e2b71

Please sign in to comment.