]> git.lizzy.rs Git - rust.git/commitdiff
Put version number in beta channel artifacts
authorBrian Anderson <banderson@mozilla.com>
Mon, 5 Jan 2015 18:25:49 +0000 (10:25 -0800)
committerBrian Anderson <banderson@mozilla.com>
Mon, 5 Jan 2015 18:25:49 +0000 (10:25 -0800)
mk/main.mk

index 0d9419cccfa83e0299d1c19079ef1114d98990f9..278c2e01060ad3f27a096c7f935822f6122e17e4 100644 (file)
@@ -29,14 +29,14 @@ endif
 ifeq ($(CFG_RELEASE_CHANNEL),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=alpha
+CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)-alpha$(CFG_BETA_CYCLE)
 endif
 ifeq ($(CFG_RELEASE_CHANNEL),nightly)
 CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly
+# When building nightlydistributables 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=nightly
 endif
 ifeq ($(CFG_RELEASE_CHANNEL),dev)