Skip to content

Commit

Permalink
Bigger version number for regular builds
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentiumYT committed Sep 9, 2024
1 parent 5515d18 commit 8c9b81c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ rm linuxdeploy-x86_64.AppImage

if [ "$1" == "deb" ]; then
cd release/$DIR
# number of commits since last tag
COMMITS=$(git rev-list $(git describe --tags --abbrev=0)..HEAD --count)
# increase version number
sed -i "s/$VERSION-1/$VERSION-$COMMITS/g" debian/changelog
dh_make --createorig --indep --yes
debuild --no-lintian -us -uc
fi

0 comments on commit 8c9b81c

Please sign in to comment.