3875: When making a release, just promote the latest nightly r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-04-07 09:47:40 +00:00 committed by GitHub
commit c8c6cb8a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,8 +172,8 @@ pub fn run_pre_cache() -> Result<()> {
pub fn run_release(dry_run: bool) -> Result<()> {
if !dry_run {
run!("git switch release")?;
run!("git fetch upstream")?;
run!("git reset --hard upstream/master")?;
run!("git fetch upstream --tags --force")?;
run!("git reset --hard tags/nightly")?;
run!("git push")?;
}