Add changelog note
This commit is contained in:
parent
43c9f26143
commit
9a709c116e
2 changed files with 4 additions and 1 deletions
3
.github/update-release-branch.py
vendored
3
.github/update-release-branch.py
vendored
|
|
@ -285,6 +285,9 @@ def main():
|
|||
print('Migrating changelog notes from v2 to v1')
|
||||
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'])
|
||||
|
||||
# Amend the commit generated by `npm version` to update the CHANGELOG
|
||||
run_git('add', 'CHANGELOG.md')
|
||||
run_git('commit', '-m', f'Update version and changelog for v{version}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue