Skip to content

Commit 30d76f9

Browse files
flip19951c3t3a
authored andcommitted
Release doc: add explanation for updating the stable branch
1 parent aa108f6 commit 30d76f9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/release.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,21 @@ After this, the release should be available on the Clippy [release page].
101101

102102
[release page]: https://github.com/rust-lang/rust-clippy/releases
103103

104+
## Update the `stable` branch
105+
106+
At this step you should have already checked out the commit of the `rust-1.XX.0`
107+
tag. Updating the stable branch from here is as easy as:
108+
109+
```bash
110+
# Assuming the current directory corresponds to the Clippy repository and the
111+
# commit of the just created rust-1.XX.0 tag is checked out.
112+
$ git push upstream rust-1.XX.0:stable # `upstream` is the `rust-lang/rust-clippy` remote
113+
```
114+
115+
_NOTE: Usually there are no stable backports for Clippy, so this update should
116+
be possible without force pushing or anything like this. If there should have
117+
happened a stable backport, make sure to re-merge those changes just as with the
118+
`beta` branch._
104119

105120
## Update `CHANGELOG.md`
106121

0 commit comments

Comments
 (0)