From 95d9c9710a6d576702d853b0e9687260ebf0e273 Mon Sep 17 00:00:00 2001 From: Dan Goslen Date: Mon, 23 Nov 2020 15:13:32 -0500 Subject: [PATCH] Fixing release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bd3846b..f1f83eaf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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