mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Update the release process documentation to run xtask publish-release-notes
This commit is contained in:
parent
f06a29f6e1
commit
97ec0ea698
1 changed files with 4 additions and 3 deletions
|
@ -200,7 +200,7 @@ Look for `fn benchmark_xxx` tests for a quick way to reproduce performance probl
|
||||||
|
|
||||||
## Release Process
|
## Release Process
|
||||||
|
|
||||||
Release process is handled by `release`, `dist` and `promote` xtasks, `release` being the main one.
|
Release process is handled by `release`, `dist`, `publish-release-notes` and `promote` xtasks, `release` being the main one.
|
||||||
|
|
||||||
`release` assumes that you have checkouts of `rust-analyzer`, `rust-analyzer.github.io`, and `rust-lang/rust` in the same directory:
|
`release` assumes that you have checkouts of `rust-analyzer`, `rust-analyzer.github.io`, and `rust-lang/rust` in the same directory:
|
||||||
|
|
||||||
|
@ -231,8 +231,9 @@ Release steps:
|
||||||
* create a new changelog in `rust-analyzer.github.io`
|
* create a new changelog in `rust-analyzer.github.io`
|
||||||
3. While the release is in progress, fill in the changelog
|
3. While the release is in progress, fill in the changelog
|
||||||
4. Commit & push the changelog
|
4. Commit & push the changelog
|
||||||
5. Tweet
|
5. Run `cargo xtask publish-release-notes <CHANGELOG>` -- this will convert the changelog entry in AsciiDoc to Markdown and update the body of GitHub Releases entry.
|
||||||
6. Inside `rust-analyzer`, run `cargo xtask promote` -- this will create a PR to rust-lang/rust updating rust-analyzer's subtree.
|
6. Tweet
|
||||||
|
7. Inside `rust-analyzer`, run `cargo xtask promote` -- this will create a PR to rust-lang/rust updating rust-analyzer's subtree.
|
||||||
Self-approve the PR.
|
Self-approve the PR.
|
||||||
|
|
||||||
If the GitHub Actions release fails because of a transient problem like a timeout, you can re-run the job from the Actions console.
|
If the GitHub Actions release fails because of a transient problem like a timeout, you can re-run the job from the Actions console.
|
||||||
|
|
Loading…
Reference in a new issue