mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
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
This commit is contained in:
commit
a239d71729
@ -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=
|
||||||
|
|
||||||
CFG_FILENAME_EXTRA=4e7c5e5c
|
CFG_FILENAME_EXTRA=4e7c5e5c
|
||||||
|
|
||||||
ifeq ($(CFG_RELEASE_CHANNEL),stable)
|
ifeq ($(CFG_RELEASE_CHANNEL),stable)
|
||||||
@ -24,12 +27,13 @@ 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
|
# 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"
|
# 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 -
|
||||||
# it's just for file naming.
|
# it's just for file naming.
|
||||||
CFG_PACKAGE_VERS=beta
|
CFG_PACKAGE_VERS=alpha
|
||||||
endif
|
endif
|
||||||
ifeq ($(CFG_RELEASE_CHANNEL),nightly)
|
ifeq ($(CFG_RELEASE_CHANNEL),nightly)
|
||||||
CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly
|
CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly
|
||||||
|
Loading…
Reference in New Issue
Block a user