Update xtask/src/release.rs

Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
Aleksey Kladov 2021-04-26 13:49:14 +03:00 committed by GitHub
parent 7bb9c147c0
commit 1745207a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ impl flags::Release {
cmd!("git switch release").run()?;
cmd!("git fetch upstream --tags --force").run()?;
cmd!("git reset --hard tags/nightly").run()?;
// The `release` branch sometimes have a couple of cherry-picked
// The `release` branch sometimes has a couple of cherry-picked
// commits for patch releases. If that's the case, just overwrite
// it. As we are setting `release` branch to an up-to-date `nightly`
// tag, this shouldn't be problematic in general.