From 6482b13edca722621a4c46d38a9cd9974489b0eb Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 8 Dec 2021 23:40:58 +0800 Subject: [PATCH] support version_suffix --- utils/generate-version-file.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/generate-version-file.sh b/utils/generate-version-file.sh index 7d5a65f57..8278d78e7 100755 --- a/utils/generate-version-file.sh +++ b/utils/generate-version-file.sh @@ -7,6 +7,10 @@ if [[ -z $VERSION ]] ; then VERSION=$(git describe --tags) fi +if [[ -n $VERSION_SUFFIX ]] ; then + VERSION=${VERSION}${VERSION_SUFFIX} +fi + cat <