From 63f3d7f0fa75df43529c49e16c493967e1d7c9ab Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 1 Apr 2015 10:42:06 -0700 Subject: [PATCH] rustup: Default to the beta channel Switches rustup to using the beta channel by default --- src/etc/rustup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/etc/rustup.sh b/src/etc/rustup.sh index 0ae7a238973c..884605eb8cb2 100755 --- a/src/etc/rustup.sh +++ b/src/etc/rustup.sh @@ -288,7 +288,7 @@ VAL_OPTIONS="" flag uninstall "only uninstall from the installation prefix" valopt prefix "" "set installation prefix" valopt date "" "use the YYYY-MM-DD nightly instead of the current nightly" -valopt channel "nightly" "use the selected release channel [nightly]" +valopt channel "beta" "use the selected release channel [beta]" flag save "save the downloaded nightlies to ~/.rustup" if [ $HELP -eq 1 ] @@ -460,8 +460,11 @@ case "$CFG_CHANNEL" in RUST_PACKAGE_NAME=rust-nightly ;; + beta) + RUST_PACKAGE_NAME=rust-1.0.0-beta + ;; *) - err "Currently nightly is the only supported release channel" + err "Currently 'beta' and 'nightly' are the only supported channels" esac RUST_PACKAGE_NAME_AND_TRIPLE="${RUST_PACKAGE_NAME}-${HOST_TRIPLE}"