Closed suzuki-shunsuke closed 4 months ago
The release workflow failed.
https://github.com/gojuno/minimock/actions/runs/9292501301/job/25573535768
• upload failed name=checksums.txt release-id=158062670 request-id=7402:23B045:C3E311:CDEACA:66578C70
• failed to upload artifact, will retry try=1 artifact=checksums.txt error=POST https://uploads.github.com/repos/gojuno/minimock/releases/158062670/assets?name=checksums.txt: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}]
• took: 4s
• took: 4s
⨯ release failed after 1m1s error=scm releases: failed to publish artifacts: failed to upload checksums.txt after 1 tries: POST https://uploads.github.com/repos/gojuno/minimock/releases/1580626[70](https://github.com/gojuno/minimock/actions/runs/9292501301/job/25573535768#step:4:71)/assets?name=checksums.txt: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}]
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.23.0/x64/goreleaser' failed with exit code 1
Hi @suzuki-shunsuke,
I think I triggered release locally and at the same time it was triggered by the github actions. I removed v3.3.10 tag and added v3.3.11
Thank you for handling the issue.
I think we should remove the Make task release
to prevent this issue.
I've created a pull request.
https://github.com/gojuno/minimock/releases/tag/v3.3.10
Download all assets.
Verify checksums, then the verification fails.
checksums.txt
Actual checksums.