Skip to content

Commit 79ad614

Browse files
committed
Update script to put unreleased section in the right place
1 parent 6484fb0 commit 79ad614

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/post-release-mergeback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
npm version patch --no-git-tag-version
131131
132132
# Update the changelog
133-
perl -i -pe 's/^/## \[UNRELEASED\]\n\nNo user facing changes.\n\n/ if($.==3)' CHANGELOG.md
133+
perl -i -pe 's/^/## \[UNRELEASED\]\n\nNo user facing changes.\n\n/ if($.==5)' CHANGELOG.md
134134
git add .
135135
git commit -m "Update changelog and version after ${VERSION}"
136136

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# CodeQL Action Changelog
22

3+
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
4+
35
## [UNRELEASED]
46

57
No user facing changes.
68

7-
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
8-
99
## 2.21.0 - 19 Jul 2023
1010

1111
- CodeQL Action now requires CodeQL CLI 2.9.4 or later. For more information, see the corresponding changelog entry for CodeQL Action version 2.20.4. [#1724](https://github.com/github/codeql-action/pull/1724)

0 commit comments

Comments
 (0)