Skip to content

Commit

Permalink
fix: Fix changelog prepending in git-cliff-release action
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar committed Nov 1, 2024
1 parent 67cb412 commit 70aa8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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
cp "$GIT_CLIFF_REPOSITORY/${{ inputs.existing_changelog_path }}" $out_file
sed '/<!-- git-cliff-unreleased-start -->/,/<!-- git-cliff-unreleased-end -->/d' -i $out_file
dump_context_args+=(--unreleased)
Expand Down

0 comments on commit 70aa8f8

Please sign in to comment.