From aa4862a5e63dedbd26a1bcc32f25dc3d70a92d08 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 1 Jul 2021 11:10:29 +0200 Subject: [PATCH] Bump the version number in CMakeLists.txt Added in d259e347e6e3a630acfc1a811709ca05e5d3b92e (#4259) Signed-off-by: Gilles Peskine --- scripts/bump_version.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh index 56270e768..d139251b6 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -81,6 +81,10 @@ then exit 1 fi +[ $VERBOSE ] && echo "Bumping VERSION in CMakeLists.txt" +sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < CMakeLists.txt > tmp +mv tmp CMakeLists.txt + [ $VERBOSE ] && echo "Bumping VERSION in library/CMakeLists.txt" sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < library/CMakeLists.txt > tmp mv tmp library/CMakeLists.txt