Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bocajthomas authored Aug 16, 2024
1 parent 8dd236c commit 7df17e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
RELEASE_VERSION=${{ env.VERSION }}
if curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ github.repository }}/releases/tags/$RELEASE_VERSION &> /dev/null; then
RELEASE_VERSION=$(echo $RELEASE_VERSION | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./')
echo "RELEASE_EXIST=yes" >> $GITHUB_OUTPUT
echo "RELEASE_EXIST=no" >> $GITHUB_OUTPUT
else
echo "RELEASE_EXIST=no" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 7df17e3

Please sign in to comment.