Skip to content

Commit

Permalink
fix if logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Apr 1, 2024
1 parent 5a98268 commit 2fa71c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag_and_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# only make release if there is NOT a git tag for this version
- name: "Check: package version has corresponding git tag"
# this will prevent this from doing anything when run through ACT
if: ${{ !env.ACT AND contains(steps.getversion.outputs.version, '.') }}
if: ${{ !env.ACT }} && contains(steps.getversion.outputs.version, '.')
id: tagged
shell: bash
run: git show-ref --tags --verify --quiet -- "refs/tags/v${{ steps.getversion.outputs.version }}" && echo "::set-output name=tagged::0" || echo "::set-output name=tagged::1"
Expand Down

0 comments on commit 2fa71c8

Please sign in to comment.