Skip to content

Commit

Permalink
Do not include release* as previous tag when calculating checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Nov 5, 2024
1 parent 6f922f0 commit c561944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: next-latest-tag
run: |
CURRENT_TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r '.tag_name')
PREVIOUS_TAG=$(git describe --tags --abbrev=0 $CURRENT_TAG^)
PREVIOUS_TAG=$(git describe --tags --abbrev=0 $CURRENT_TAG^ --exclude release*)
echo "next_latest_tag=$PREVIOUS_TAG" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
Expand Down

0 comments on commit c561944

Please sign in to comment.