Skip to content

Commit

Permalink
Fixing release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Goslen committed Nov 23, 2020
1 parent 3f37d95 commit 95d9c97
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 @@ -24,7 +24,7 @@ jobs:
- name: Check for Release
id: check_release
run: |
TAG=$(git ls-remote --tags origin | grep ${{ steps.read_version.outputs.version }} | cat)
TAG=$(git ls-remote --tags origin | grep ${{ steps.read_version.outputs.version }} || [[ $? == 1 ]] && echo '')
MISSING=$([[ -z "$TAG" ]] && echo 'true' || echo 'false')
echo ::set-output name=missing::$MISSING
shell: bash
Expand Down

0 comments on commit 95d9c97

Please sign in to comment.