From 79ad6142b1784f5869c912c5560c29370487a292 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 19 Jul 2023 13:56:46 +0100 Subject: [PATCH] Update script to put unreleased section in the right place --- .github/workflows/post-release-mergeback.yml | 2 +- CHANGELOG.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/post-release-mergeback.yml b/.github/workflows/post-release-mergeback.yml index 58a64d2cf4..1a38dfd74c 100644 --- a/.github/workflows/post-release-mergeback.yml +++ b/.github/workflows/post-release-mergeback.yml @@ -130,7 +130,7 @@ jobs: npm version patch --no-git-tag-version # Update the changelog - perl -i -pe 's/^/## \[UNRELEASED\]\n\nNo user facing changes.\n\n/ if($.==3)' CHANGELOG.md + perl -i -pe 's/^/## \[UNRELEASED\]\n\nNo user facing changes.\n\n/ if($.==5)' CHANGELOG.md git add . git commit -m "Update changelog and version after ${VERSION}" diff --git a/CHANGELOG.md b/CHANGELOG.md index ae61e8bb76..7503ba9850 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ # CodeQL Action Changelog +See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. + ## [UNRELEASED] No user facing changes. -See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. - ## 2.21.0 - 19 Jul 2023 - 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)