Skip to content

Commit f3ad232

Browse files
committed
rollup merge of rust-lang#20584: brson/versioning
Also, change the version number to 1.0.0.
2 parents 4c54978 + c548b87 commit f3ad232

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mk/main.mk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=0.13.0
16+
CFG_RELEASE_NUM=1.0.0
1717

1818
# An optional number to put after the label, e.g. '2' -> '-beta2'
1919
CFG_BETA_CYCLE=
@@ -29,14 +29,14 @@ endif
2929
ifeq ($(CFG_RELEASE_CHANNEL),beta)
3030
# The beta channel is temporarily called 'alpha'
3131
CFG_RELEASE=$(CFG_RELEASE_NUM)-alpha$(CFG_BETA_CYCLE)
32-
# When building beta/nightly distributables just reuse the same "beta"
33-
# name so when we upload we'll always override the previous
34-
# nighly. This doesn't actually impact the version reported by rustc -
35-
# it's just for file naming.
36-
CFG_PACKAGE_VERS=alpha
32+
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)-alpha$(CFG_BETA_CYCLE)
3733
endif
3834
ifeq ($(CFG_RELEASE_CHANNEL),nightly)
3935
CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly
36+
# When building nightly distributables just reuse the same "nightly" name
37+
# so when we upload we'll always override the previous nighly. This
38+
# doesn't actually impact the version reported by rustc - it's just
39+
# for file naming.
4040
CFG_PACKAGE_VERS=nightly
4141
endif
4242
ifeq ($(CFG_RELEASE_CHANNEL),dev)

0 commit comments

Comments
 (0)