From bfdb079b791a532af3a3a7ce3d6d742fca89d7c7 Mon Sep 17 00:00:00 2001 From: Neil Alexander <neilalexander@users.noreply.github.com> Date: Tue, 18 Dec 2018 11:52:22 +0000 Subject: [PATCH] Append suffix to master releaser releases if they are not the first merge (package revisions) --- contrib/semver/version.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/semver/version.sh b/contrib/semver/version.sh index a53ed32c..a17cf6fe 100644 --- a/contrib/semver/version.sh +++ b/contrib/semver/version.sh @@ -59,4 +59,8 @@ if [ $BRANCH != "master" ]; then if [ $BUILD != 0 ]; then printf -- "-%04d" "$BUILD" fi +else + if [ $BUILD != 0 ]; then + printf -- "-%d" "$BUILD" + fi fi