From 3aef4f19b4c162acdb94a05e8617918568a8e1cc Mon Sep 17 00:00:00 2001 From: Harikrishnan Balagopal Date: Wed, 24 Jul 2024 16:04:19 +0530 Subject: [PATCH] ci: fix the HTTP 404 error in the CICD pipeline Signed-off-by: Harikrishnan Balagopal --- .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 4738769..14afa58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: tag_exists = true; core.info(`the tag ${tag} already exists on ${resp.data.object.type} ${resp.data.object.sha}`); } catch(err) { - if(err.status !== 404){ + if(err.status !== 404 && err.status !== '404'){ throw err; } }