Skip to content

Commit a239d71

Browse files
committed
rollup merge of rust-lang#20323: brson/beta
Adds a new 'beta cycle' variable that can be appended to the '-beta' version label, e.g. '-beta1'. Changes the version label for the beta channel temporarily to 'alpha'. Changes the artifact name of the beta channel to contain the version number instead of just being called 'beta'. The beta cycle number is currently set to 1. The impact of this is that the first alphas will be called '1.0.0-alpha1' and the artifacts will also be called '1.0.0-alpha1-*.tar.gz'. We could alternately leave out the cycle number if we are confident there will be only one alpha cycle. r? @alexcrichton cc @nikomatsakis @huonw
2 parents d1a19e8 + 20fcece commit a239d71

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mk/main.mk

Lines changed: 6 additions & 2 deletions
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=
20+
1821
CFG_FILENAME_EXTRA=4e7c5e5c
1922

2023
ifeq ($(CFG_RELEASE_CHANNEL),stable)
@@ -24,12 +27,13 @@ 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+
# The beta channel is temporarily called 'alpha'
31+
CFG_RELEASE=$(CFG_RELEASE_NUM)-alpha$(CFG_BETA_CYCLE)
2832
# When building beta/nightly distributables just reuse the same "beta"
2933
# name so when we upload we'll always override the previous
3034
# nighly. This doesn't actually impact the version reported by rustc -
3135
# it's just for file naming.
32-
CFG_PACKAGE_VERS=beta
36+
CFG_PACKAGE_VERS=alpha
3337
endif
3438
ifeq ($(CFG_RELEASE_CHANNEL),nightly)
3539
CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly

0 commit comments

Comments
 (0)