mk: Allow an optional number to come after the beta version label
This commit is contained in:
parent
fea5aa656f
commit
56c26ab663
@ -15,6 +15,9 @@
|
|||||||
# The version number
|
# The version number
|
||||||
CFG_RELEASE_NUM=0.13.0
|
CFG_RELEASE_NUM=0.13.0
|
||||||
|
|
||||||
|
# An optional number to put after the label, e.g. '2' -> '-beta2'
|
||||||
|
CFG_BETA_CYCLE=1
|
||||||
|
|
||||||
CFG_FILENAME_EXTRA=4e7c5e5c
|
CFG_FILENAME_EXTRA=4e7c5e5c
|
||||||
|
|
||||||
ifeq ($(CFG_RELEASE_CHANNEL),stable)
|
ifeq ($(CFG_RELEASE_CHANNEL),stable)
|
||||||
@ -24,7 +27,7 @@ CFG_RELEASE=$(CFG_RELEASE_NUM)
|
|||||||
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)
|
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CFG_RELEASE_CHANNEL),beta)
|
ifeq ($(CFG_RELEASE_CHANNEL),beta)
|
||||||
CFG_RELEASE=$(CFG_RELEASE_NUM)-beta
|
CFG_RELEASE=$(CFG_RELEASE_NUM)-beta$(CFG_BETA_CYCLE)
|
||||||
# When building beta/nightly distributables just reuse the same "beta"
|
# When building beta/nightly distributables just reuse the same "beta"
|
||||||
# name so when we upload we'll always override the previous
|
# name so when we upload we'll always override the previous
|
||||||
# nighly. This doesn't actually impact the version reported by rustc -
|
# nighly. This doesn't actually impact the version reported by rustc -
|
||||||
|
Loading…
Reference in New Issue
Block a user