From 282b607642e9bfbd5336eeffd84b99eb540dcf9f Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 29 Mar 2022 16:10:02 +0100 Subject: [PATCH] Update changelog rewriting step to match v2+ only release notes --- .github/update-release-branch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/update-release-branch.py b/.github/update-release-branch.py index c62a030933..393eb7ec9a 100644 --- a/.github/update-release-branch.py +++ b/.github/update-release-branch.py @@ -286,7 +286,7 @@ def main(): subprocess.run(['sed', '-i', 's/^## 2\./## 1./g', 'CHANGELOG.md']) # Remove changelog notes from v2 that don't apply to v1 - subprocess.run(['sed', '-i', '/^- The CodeQL Action now runs on Node\.js v16\./d', 'CHANGELOG.md']) + subprocess.run(['sed', '-i', '/^- \[v2+ only\]/d', 'CHANGELOG.md']) # Amend the commit generated by `npm version` to update the CHANGELOG run_git('add', 'CHANGELOG.md')