Skip to content

Commit e4a1e85

Browse files
committed
Auto merge of rust-lang#7321 - flip1995:doc-release-stable-branch, r=xFrednet
Release doc: add explanation for updating the stable branch r? `@xFrednet` [Rendered](https://github.com/flip1995/rust-clippy/blob/doc-release-stable-branch/doc/release.md) changelog: none
2 parents 9991040 + 52fc18c commit e4a1e85

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)