From 25242fe93f6ae330abbaba96d5a91fd55ed1395a Mon Sep 17 00:00:00 2001 From: arcnmx Date: Mon, 9 Jan 2023 10:36:22 -0800 Subject: :arrow_up: rust-analyzer Merge commit '368e0bb32f1178cf162c2ce5f7e10b7ae211eb26' --- docs/dev/README.md | 7 +++-- docs/dev/lsp-extensions.md | 67 ++++++++++++++++++++++++++++++++++++++++- docs/dev/style.md | 2 +- docs/user/generated_config.adoc | 57 ++++++++++++++++++++++++++--------- 4 files changed, 113 insertions(+), 20 deletions(-) (limited to 'docs') diff --git a/docs/dev/README.md b/docs/dev/README.md index 4ac75b4bbfd..cdab6b09928 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md @@ -200,7 +200,7 @@ Look for `fn benchmark_xxx` tests for a quick way to reproduce performance probl ## 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: @@ -231,8 +231,9 @@ Release steps: * create a new changelog in `rust-analyzer.github.io` 3. While the release is in progress, fill in the changelog 4. Commit & push the changelog -5. Tweet -6. Inside `rust-analyzer`, run `cargo xtask promote` -- this will create a PR to rust-lang/rust updating rust-analyzer's subtree. +5. Run `cargo xtask publish-release-notes ` -- this will convert the changelog entry in AsciiDoc to Markdown and update the body of GitHub Releases entry. +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. If the GitHub Actions release fails because of a transient problem like a timeout, you can re-run the job from the Actions console. diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index fe316fcae9b..a4780af1a26 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@