From 5c6eb2c61d49405cd053e0db1d1595f14593e810 Mon Sep 17 00:00:00 2001 From: Jan Buchar Date: Thu, 24 Oct 2024 12:53:10 +0200 Subject: [PATCH] Remove unreleased stuff --- git-cliff-release/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/git-cliff-release/action.yaml b/git-cliff-release/action.yaml index ff30cda..449fd34 100644 --- a/git-cliff-release/action.yaml +++ b/git-cliff-release/action.yaml @@ -122,6 +122,7 @@ runs: if [[ -n "${{ inputs.existing_changelog_path }}" ]]; then out_file=$GIT_CLIFF_WORKDIR/existing_changelog.md cp "${{ github.workspace }}/${{ inputs.existing_changelog_path }}" $out_file + sed '//,//d' -i $out_file print_changelog_args+=(--prepend "$out_file" --unreleased) else