Skip to content

Commit

Permalink
Run fetch before testing if master contains beta
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Apr 23, 2020
1 parent c19ca0e commit 451bade
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@ 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 `git branch master --contains beta`.
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
Expand Down

0 comments on commit 451bade

Please sign in to comment.