From 5fc11a4f404947fa9e14ce73b6f9e11c4d85b04d Mon Sep 17 00:00:00 2001 From: Harikrishnan Balagopal Date: Wed, 24 Jul 2024 08:44:48 +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 87ff243..e1fcabc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,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; } }