Skip to content

Commit 32ba44b

Browse files
authored
Merge pull request #433 from rvermeulen/rvermeulen/address-gh-release-failing
Address failing step if release is new
2 parents e71d5b9 + 59032d2 commit 32ba44b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/prepare-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
env:
6161
GITHUB_TOKEN: ${{ github.token }}
6262
run: |
63+
# Don't fail the step if gh fails to find the release
64+
set +e
65+
6366
release=$(gh release view v$RELEASE_VERSION --json name,isDraft)
6467
if [[ -z "$release" ]]; then
6568
echo "Release v$RELEASE_VERSION does not exist. Proceeding"

0 commit comments

Comments
 (0)