Skip to content

Commit

Permalink
Add changelog note
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed Mar 28, 2022
1 parent 43c9f26 commit 9a709c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/update-release-branch.py
Expand Up @@ -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}')
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

## [UNRELEASED]

No user facing changes.
- The CodeQL Action now runs on Node.js v16. [#1000](https://github.com/github/codeql-action/pull/1000)

## 1.1.5 - 15 Mar 2022

Expand Down

0 comments on commit 9a709c1

Please sign in to comment.