From 2c0161660874b03737c7b0989e98fb1f8d9d8659 Mon Sep 17 00:00:00 2001 From: Tobias Trumm Date: Wed, 3 Apr 2024 08:17:16 +0200 Subject: [PATCH] ci: Fix check for new version --- .github/workflows/check-for-new-deno-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-for-new-deno-release.yml b/.github/workflows/check-for-new-deno-release.yml index b5601f3..2f2f408 100644 --- a/.github/workflows/check-for-new-deno-release.yml +++ b/.github/workflows/check-for-new-deno-release.yml @@ -16,7 +16,7 @@ jobs: latest_deno_version=$(gh release view --repo denoland/deno --json tagName --jq ".tagName") echo "latest-deno-version=$latest_deno_version" >> "$GITHUB_OUTPUT" - version_in_this_repo=$(gh release view $latest_deno_version --repo ${{ github.repository }} --json tagName --jq ".tagName") + version_in_this_repo=$(gh release view $latest_deno_version --repo ${{ github.repository }} --json tagName --jq ".tagName" || true) if [[ "${latest_deno_version}" == "${version_in_this_repo}" ]] then echo "release-status=exists" >> "$GITHUB_OUTPUT"