Allow overriding the version for packpack
parent
9b4fcf4e92
commit
bb2b832c58
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue