Skip to content

Commit

Permalink
ci: Change logic to diff current tag to previous tag
Browse files Browse the repository at this point in the history
  • Loading branch information
en-milie committed May 26, 2024
1 parent b33f5c6 commit d678aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: generate_changelog
run: |
echo "Generating changelog from ${{ env.PREVIOUS_TAG }} to ${{ github.ref_name }}"
CHANGELOG=$(git log ${{ env.PREVIOUS_TAG }}..${{ github.ref_name }} --pretty=format:"* %s" --no-merges | grep -vE "\[maven-release-plugin\]|chore:|docs:|test:|ci:|build:")
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:")
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
echo "$CHANGELOG" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down

0 comments on commit d678aec

Please sign in to comment.