Skip to content

Commit

Permalink
Drop Meson version adjustments from tag_version script.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Feb 10, 2024
1 parent 1e2f8d8 commit 84c5779
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/tag_version.sh
Expand Up @@ -13,15 +13,4 @@ if ! [[ $VER =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-(alpha|beta|rc)\.[0-9]+)?$ ]]; then
exit 1
fi

BASE=`echo ${VER:1} | cut -d - -f 1`
SUFFIX=`echo $VER | cut -d - -f 2 -s`
MSUFFIX="$(echo $SUFFIX | sed 's/\([a-z]*\)\.\([0-9]*\)/~\1\2/')"

sed -i 's|version:\(\s*\)'"'"'.*'"'"'$|version:\1'"'$BASE'|" meson.build
sed -i 's|project_version_suffix\(\s*\)= '"'"'.*'"'"'$|project_version_suffix\1= '"'$MSUFFIX'|" meson.build

set -x
git --no-pager diff
git add meson.build
git commit --message "bump version to $VER"
git tag --sign --message "$VER" "$VER"

0 comments on commit 84c5779

Please sign in to comment.