Allow overriding the version for packpack

pull/3222/head
Isaac Connor 2021-04-14 12:59:17 -04:00
parent 9b4fcf4e92
commit bb2b832c58
1 changed files with 3 additions and 1 deletions

View File

@ -220,7 +220,9 @@ setdebpkgname () {
# Set VERSION to {zm version}~{today's date}.{number of commits} e.g. 1.31.0~20170605.82 # 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 # Set RELEASE to the packpack DIST variable e.g. Trusty
if [ "" == "$VERSION" ]; then
export VERSION="${versionfile}~${thedate}.${numcommits}" export VERSION="${versionfile}~${thedate}.${numcommits}"
fi
export RELEASE="${DIST}" export RELEASE="${DIST}"
checkvars checkvars