From deec4c16fd21fb71f208aa4c35eb168fa02b87c4 Mon Sep 17 00:00:00 2001 From: Jan Martin Date: Wed, 23 Jul 2025 09:18:37 -0700 Subject: [PATCH] docs: call out cleanup steps in devtools release process (#62769) PR Close #62769 --- devtools/docs/release.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devtools/docs/release.md b/devtools/docs/release.md index 9d8d6ef2f0d..fdbb0f980f7 100644 --- a/devtools/docs/release.md +++ b/devtools/docs/release.md @@ -22,6 +22,13 @@ Bump the version numbers listed in [`manifest.chrome.json`](/devtools/projects/shell-browser/src/manifest/manifest.chrome.json) and [`manifest.firefox.json`](/devtools/projects/shell-browser/src/manifest/manifest.firefox.json). +While technically optional, it's recommended to clean up potential artifacts from previous releases: + +```shell +rm -f ~/devtools-chrome.zip ~/devtools-firefox.zip ~/angular-source.zip +git branch -D devtools-release +``` + ## 2. Commit and merge Commit the version bump: @@ -30,6 +37,8 @@ Commit the version bump: git checkout -b devtools-release git add . && git commit -m "release: bump Angular DevTools version to ${VERSION}" git push -u origin devtools-release +# Alternatively, if there might be a pre-existing branch from a previous release: +git push -u origin devtools-release --force-with-lease ``` Then create and merge a PR targeting `minor` with this change. Merging this PR does not