Skip to content

Commit d678aec

Browse files
committed
ci: Change logic to diff current tag to previous tag
1 parent b33f5c6 commit d678aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
id: generate_changelog
3232
run: |
3333
echo "Generating changelog from ${{ env.PREVIOUS_TAG }} to ${{ github.ref_name }}"
34-
CHANGELOG=$(git log ${{ env.PREVIOUS_TAG }}..${{ github.ref_name }} --pretty=format:"* %s" --no-merges | grep -vE "\[maven-release-plugin\]|chore:|docs:|test:|ci:|build:")
34+
CHANGELOG=$(git log ${{ env.PREVIOUS_TAG }}..cats-${{ github.event.inputs.releaseversion }} --pretty=format:"* %s" --no-merges | grep -vE "\[maven-release-plugin\]|chore:|docs:|test:|ci:|build:")
3535
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
3636
echo "$CHANGELOG" >> $GITHUB_ENV
3737
echo "EOF" >> $GITHUB_ENV

0 commit comments

Comments
 (0)