Skip to content

Commit 4646f33

Browse files
ci: fix HTTP 404 error in the CICD pipeline (#172)
Signed-off-by: Harikrishnan Balagopal <[email protected]>
1 parent 4d081f7 commit 4646f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
tag_exists = true;
6969
core.info(`the tag ${tag} already exists on ${resp.data.object.type} ${resp.data.object.sha}`);
7070
} catch(err) {
71-
if(err.status !== 404){
71+
if(err.status !== 404 && err.status !== '404'){
7272
throw err;
7373
}
7474
}
@@ -122,7 +122,7 @@ jobs:
122122
- run: mv *.tgz temp/
123123
- run: curl -L -o oldindex.yaml https://move2kube.konveyor.io/index.yaml
124124
- run: helm repo index --merge oldindex.yaml --url https://github.com/konveyor/move2kube-ui/releases/download/${{ github.event.inputs.tag }} temp/
125-
- uses: konveyor/move2kube-upload-release-action@v3
125+
- uses: konveyor/move2kube-upload-release-action@v3.0.1
126126
with:
127127
repo_token: ${{ secrets.GITHUB_TOKEN }}
128128
tag: ${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)