Skip to content

Commit

Permalink
ci: fix HTTP 404 error in the CICD pipeline (#172)
Browse files Browse the repository at this point in the history
Signed-off-by: Harikrishnan Balagopal <[email protected]>
  • Loading branch information
HarikrishnanBalagopal authored Jul 23, 2024
1 parent 4d081f7 commit 4646f33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,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;
}
}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- run: mv *.tgz temp/
- run: curl -L -o oldindex.yaml https://move2kube.konveyor.io/index.yaml
- run: helm repo index --merge oldindex.yaml --url https://github.com/konveyor/move2kube-ui/releases/download/${{ github.event.inputs.tag }} temp/
- uses: konveyor/move2kube-upload-release-action@v3
- uses: konveyor/move2kube-upload-release-action@v3.0.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.tag }}
Expand Down

0 comments on commit 4646f33

Please sign in to comment.