Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pandrabox committed Sep 1, 2024
1 parent 63d5974 commit bc98f14
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,17 @@ jobs:
tag: ${{ steps.version.outputs.value }}

- name: Process Tag Check Result
if: ${{ steps.check_tag.outputs.retval == 'true' }}
run: |
if [[ "${{ steps.check_tag.outputs.retval }}" == 'true' ]]; then
echo "Branch/commit already contains the tag."
exit 1
else
echo "Branch/commit did not contain the tag."
fi
echo "Branch/commit already contains the tag. Exiting."
exit 1
- name: Create Tag
if: ${{ steps.check_tag.outputs.retval != 'true' }}
id: tag_version
uses: rickstaa/action-create-tag@88dbf7ff6fe2405f8e8f6c6fdfd78829bc631f83
with:
tag: "${{ env.version }}"


# Configure the Environment Variables needed for releasing the Package
Expand Down

0 comments on commit bc98f14

Please sign in to comment.