diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-30 16:26:09 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-30 16:26:09 -0800 |
| commit | a239d71729973d56221dd5a51eb987972ecc44d2 (patch) | |
| tree | a58f1453f570e54c7eec338a8b53b051920f6b82 | |
| parent | d1a19e830312d54adb6888c3956e3a3223f9af36 (diff) | |
| parent | 20fcece88bfdca78695b2d5b454d2cf1570625b6 (diff) | |
| download | rust-a239d71729973d56221dd5a51eb987972ecc44d2.tar.gz rust-a239d71729973d56221dd5a51eb987972ecc44d2.zip | |
rollup merge of #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
| -rw-r--r-- | mk/main.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/main.mk b/mk/main.mk index 7d0617b988a..32167dfd899 100644 --- a/mk/main.mk +++ b/mk/main.mk @@ -15,6 +15,9 @@ # The version number CFG_RELEASE_NUM=0.13.0 +# An optional number to put after the label, e.g. '2' -> '-beta2' +CFG_BETA_CYCLE= + CFG_FILENAME_EXTRA=4e7c5e5c ifeq ($(CFG_RELEASE_CHANNEL),stable) @@ -24,12 +27,13 @@ CFG_RELEASE=$(CFG_RELEASE_NUM) CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM) endif ifeq ($(CFG_RELEASE_CHANNEL),beta) -CFG_RELEASE=$(CFG_RELEASE_NUM)-beta +# The beta channel is temporarily called 'alpha' +CFG_RELEASE=$(CFG_RELEASE_NUM)-alpha$(CFG_BETA_CYCLE) # When building beta/nightly distributables just reuse the same "beta" # name so when we upload we'll always override the previous # nighly. This doesn't actually impact the version reported by rustc - # it's just for file naming. -CFG_PACKAGE_VERS=beta +CFG_PACKAGE_VERS=alpha endif ifeq ($(CFG_RELEASE_CHANNEL),nightly) CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly |
