Skip to content

Commit af34c6d

Browse files
authored
Merge pull request #1002 from github/henrymercer/update-changelog-rewriting
Update changelog rewriting step to match v2+ only changelog notes
2 parents f0e2f3c + 282b607 commit af34c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/update-release-branch.py

+1-1
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)