From 6c156de0e73409d030f8c41de562d1cda7110ce5 Mon Sep 17 00:00:00 2001 From: Hari Date: Wed, 24 Jul 2024 16:31:20 +0530 Subject: [PATCH] ci: fix the HTTP 404 status error in the CICD pipeline (#64) 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 ca0134e..869fac1 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; } }