Skip to content

Commit 46b121c

Browse files
committed
Add "-r" to build qualifier as a designator for release builds.
This allows to easily distinguish between snapshot builds (without -r) and release builds (with -r).
1 parent 63f3ad1 commit 46b121c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

do-release.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ CURRENT_BRANCH=$(git symbolic-ref -q HEAD)
5050
CURRENT_BRANCH=${CURRENT_BRANCH##refs/heads/}
5151
CURRENT_BRANCH=${CURRENT_BRANCH:-HEAD}
5252

53-
# Pick a release BUILDQUALIFIER (e.g. v20170401-0001) and update versions
54-
# E.g. version is: "4.0.13" and BUILDQUALIFIER is "v20170401-0001".
55-
# The complete version of the plugin will be "4.0.13.v20170401-0001
56-
BUILDQUALIFIER=$(date -u +v%Y%m%d-%H%M)
53+
# Pick a release BUILDQUALIFIER (e.g. v20170401-0001-r) and update versions
54+
# E.g. version is: "4.0.13" and BUILDQUALIFIER is "v20170401-0001-r".
55+
# The complete version of the plugin will be "4.0.13.v20170401-0001-r
56+
BUILDQUALIFIER="$(date -u +v%Y%m%d-%H%M)-r"
5757
export BUILDQUALIFIER
5858

5959
echo "RELEASE_VERSION: ${RELEASE_VERSION}.${BUILDQUALIFIER} (this release)"

0 commit comments

Comments
 (0)