Skip to content

Commit

Permalink
Rollup merge of rust-lang#5516 - flip1995:doc_release, r=phansch
Browse files Browse the repository at this point in the history
Add a note to the beta sections of release.md

changelog: none
  • Loading branch information
flip1995 committed Apr 25, 2020
2 parents a33d64a + 451bade commit e39550e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/release.md
Expand Up @@ -63,6 +63,16 @@ to the beta Rust release. The remerge is then necessary, to make sure that the
Clippy commit, that was used by the now stable Rust release, persists in the
tree of the Clippy repository.

To find out if this step is necessary run

```bash
# Assumes that the local master branch is up-to-date
$ git fetch upstream
$ git branch master --contains upstream/beta
```

If this command outputs `master`, this step is **not** necessary.

```bash
# Assuming `HEAD` is the current `master` branch of rust-lang/rust-clippy
$ git checkout -b backport_remerge
Expand Down Expand Up @@ -97,5 +107,5 @@ be updated.
# Assuming the current directory corresponds to the Clippy repository
$ git checkout beta
$ git rebase $BETA_SHA
$ git push upstream beta [-f] # This requires a force push, if a remerge was done
$ git push upstream beta
```

0 comments on commit e39550e

Please sign in to comment.