Skip to content

Commit e39550e

Browse files
authored
Rollup merge of rust-lang#5516 - flip1995:doc_release, r=phansch
Add a note to the beta sections of release.md changelog: none
2 parents a33d64a + 451bade commit e39550e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/release.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ to the beta Rust release. The remerge is then necessary, to make sure that the
6363
Clippy commit, that was used by the now stable Rust release, persists in the
6464
tree of the Clippy repository.
6565

66+
To find out if this step is necessary run
67+
68+
```bash
69+
# Assumes that the local master branch is up-to-date
70+
$ git fetch upstream
71+
$ git branch master --contains upstream/beta
72+
```
73+
74+
If this command outputs `master`, this step is **not** necessary.
75+
6676
```bash
6777
# Assuming `HEAD` is the current `master` branch of rust-lang/rust-clippy
6878
$ git checkout -b backport_remerge
@@ -97,5 +107,5 @@ be updated.
97107
# Assuming the current directory corresponds to the Clippy repository
98108
$ git checkout beta
99109
$ git rebase $BETA_SHA
100-
$ git push upstream beta [-f] # This requires a force push, if a remerge was done
110+
$ git push upstream beta
101111
```

0 commit comments

Comments
 (0)