From bb2b832c58f68931ff8e0e026e750097facb2bc3 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 14 Apr 2021 12:59:17 -0400 Subject: [PATCH] Allow overriding the version for packpack --- utils/packpack/startpackpack.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index e2e8bccb3..7c60bc478 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -220,7 +220,9 @@ setdebpkgname () { # Set VERSION to {zm version}~{today's date}.{number of commits} e.g. 1.31.0~20170605.82 # Set RELEASE to the packpack DIST variable e.g. Trusty - export VERSION="${versionfile}~${thedate}.${numcommits}" + if [ "" == "$VERSION" ]; then + export VERSION="${versionfile}~${thedate}.${numcommits}" + fi export RELEASE="${DIST}" checkvars