From c0248516ba280e773cde178a9b6da0d2c20a9514 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Thu, 4 Jan 2024 08:09:11 -0700 Subject: [PATCH] master: new_release.sh: better handeling of check_version.sh changes. --- bin/new_release.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/new_release.sh b/bin/new_release.sh index 00d2e6c9f..faa95a371 100755 --- a/bin/new_release.sh +++ b/bin/new_release.sh @@ -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)