Skip to content

Commit 56c26ab

Browse files
committed
mk: Allow an optional number to come after the beta version label
1 parent fea5aa6 commit 56c26ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mk/main.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# The version number
1616
CFG_RELEASE_NUM=0.13.0
1717

18+
# An optional number to put after the label, e.g. '2' -> '-beta2'
19+
CFG_BETA_CYCLE=1
20+
1821
CFG_FILENAME_EXTRA=4e7c5e5c
1922

2023
ifeq ($(CFG_RELEASE_CHANNEL),stable)
@@ -24,7 +27,7 @@ CFG_RELEASE=$(CFG_RELEASE_NUM)
2427
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)
2528
endif
2629
ifeq ($(CFG_RELEASE_CHANNEL),beta)
27-
CFG_RELEASE=$(CFG_RELEASE_NUM)-beta
30+
CFG_RELEASE=$(CFG_RELEASE_NUM)-beta$(CFG_BETA_CYCLE)
2831
# When building beta/nightly distributables just reuse the same "beta"
2932
# name so when we upload we'll always override the previous
3033
# nighly. This doesn't actually impact the version reported by rustc -

0 commit comments

Comments
 (0)