mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
rollup merge of #17542 : brson/devchannel
This commit is contained in:
commit
01c25e6c7b
6
configure
vendored
6
configure
vendored
@ -453,7 +453,7 @@ valopt datadir "${CFG_PREFIX}/share" "install data"
|
||||
valopt infodir "${CFG_PREFIX}/share/info" "install additional info"
|
||||
valopt mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
|
||||
|
||||
valopt release-channel "source" "the name of the release channel to build"
|
||||
valopt release-channel "dev" "the name of the release channel to build"
|
||||
|
||||
# On windows we just store the libraries in the bin directory because
|
||||
# there's no rpath. This is where the build system itself puts libraries;
|
||||
@ -479,10 +479,10 @@ validate_opt
|
||||
|
||||
# Validate the release channel
|
||||
case "$CFG_RELEASE_CHANNEL" in
|
||||
(source | nightly | beta | stable)
|
||||
(dev | nightly | beta | stable)
|
||||
;;
|
||||
(*)
|
||||
err "release channel must be 'source', 'nightly', 'beta' or 'stable'"
|
||||
err "release channel must be 'dev', 'nightly', 'beta' or 'stable'"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -35,9 +35,9 @@ ifeq ($(CFG_RELEASE_CHANNEL),nightly)
|
||||
CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly
|
||||
CFG_PACKAGE_VERS=nightly
|
||||
endif
|
||||
ifeq ($(CFG_RELEASE_CHANNEL),source)
|
||||
CFG_RELEASE=$(CFG_RELEASE_NUM)-pre
|
||||
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)-pre
|
||||
ifeq ($(CFG_RELEASE_CHANNEL),dev)
|
||||
CFG_RELEASE=$(CFG_RELEASE_NUM)-dev
|
||||
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)-dev
|
||||
endif
|
||||
|
||||
# The name of the package to use for creating tarballs, installers etc.
|
||||
|
Loading…
Reference in New Issue
Block a user