Skip to content

Commit

Permalink
ci: fix the HTTP 404 status error (#167)
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 a96f93f commit 273206c
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 @@ -67,7 +67,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 @@ -121,7 +121,7 @@ jobs:
go-version: ${{ steps.info.outputs.go_version }}
- run: VERSION='${{ github.event.inputs.tag }}' make dist
- name: upload release assets
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 273206c

Please sign in to comment.