You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure a goreleaser with draft: true, create a draft release first before trigger goreleaser in github action, after it finish, it'll create a duplicated draft release.
goreleaser version
`ghcr.io/goreleaser/goreleaser-cross:v1.17.9`
GoReleaser Check
goreleaser check shows no errors
Search
I did search for other open and closed issues before opening this.
Code of Conduct
I agree to follow this project's Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered:
What happened?
When there's an existing draft release, gorelease won't update it, but create a new one.
https://docs.github.com/en/rest/releases/releases#get-a-release-by-tag-name
Because the api goreleaser use right now don't return draft release.
To find a exiting draft release, one need to iterate all the releases like this: https://github.com/softprops/action-gh-release/blob/fe9a9bd3295828558c7a3c004f23f3bf77d155b2/src/github.ts#L205
How can we reproduce this?
Configure a goreleaser with
draft: true
, create a draft release first before trigger goreleaser in github action, after it finish, it'll create a duplicated draft release.goreleaser version
`ghcr.io/goreleaser/goreleaser-cross:v1.17.9`
GoReleaser Check
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: