Skip to content

Commit 282b607

Browse files
committed
Update changelog rewriting step to match v2+ only release notes
1 parent f0e2f3c commit 282b607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/update-release-branch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def main():
286286
subprocess.run(['sed', '-i', 's/^## 2\./## 1./g', 'CHANGELOG.md'])
287287

288288
# Remove changelog notes from v2 that don't apply to v1
289-
subprocess.run(['sed', '-i', '/^- The CodeQL Action now runs on Node\.js v16\./d', 'CHANGELOG.md'])
289+
subprocess.run(['sed', '-i', '/^- \[v2+ only\]/d', 'CHANGELOG.md'])
290290

291291
# Amend the commit generated by `npm version` to update the CHANGELOG
292292
run_git('add', 'CHANGELOG.md')

0 commit comments

Comments
 (0)