Skip to content

Commit

Permalink
Make do-a-release.sh handle point releases properly
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Jul 29, 2024
1 parent 8917eee commit 1229584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/do-a-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ git commit -m "Release $VERSION"

git tag -s "v$VERSION" -m "mkosi $VERSION"

VERSION="$((VERSION + 1))~devel"
VERSION_MAJOR=${VERSION%%.*}
VERSION="$((VERSION_MAJOR + 1))~devel"

sed -r -i "s/^__version__ = \".*\"$/__version__ = \"$VERSION\"/" mkosi/config.py

Expand Down

0 comments on commit 1229584

Please sign in to comment.