Skip to content

Commit

Permalink
master: new_release.sh: better handeling of check_version.sh changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Jan 4, 2024
1 parent 1883c21 commit c024851
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ sed -i CMakeLists.txt -f temp.sed
# check_version.sh
git show master:bin/check_version.sh > bin/check_version.sh
chmod +x bin/check_version.sh
bin/check_version.sh
if ! bin/check_version.sh
then
echo 'bin/check_version.sh changed version numbers'
echo "commit changes to $stable_branch branch ?"
exit 1
fi
#
# git_status
git_status=$(git status --porcelain)
Expand Down

0 comments on commit c024851

Please sign in to comment.