-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate draft release created when published release with same name exists #37
Duplicate draft release created when published release with same name exists #37
Comments
One thought I had for the name of such an option is |
We could disable a But I'm thinking about the users that use the |
This change adds a new `skipIfPublished` argument to the CLI and API to indicate that a new release should not be created if a non-draft release with the same tag already exists. Fixes remixz#37.
Yeah, that's why I think it's better for there to be a parameter to explicitly opt in to the new behavior. I've created #38 to add a new parameter for this, let me know what you think! |
This change adds a new `skipIfPublished` argument to the CLI and API to indicate that a new release should not be created if a non-draft release with the same tag already exists. Fixes #37.
Hi there! I'm trying to use this library to automatically create GitHub releases and upload assets as a CI step. I've noticed that when
reuseRelease
andreuseDraftOnly
are true, a duplicate draft release gets created if there's already a published release by the same name.Here's what I'm trying to accomplish:
It doesn't seem possible to do this currently since using
reuseRelease
andreuseDraftOnly
causes a new draft release to be created if one doesn't already exist with the same name.Is this the intended behavior? If not, could I send a PR for a new parameter that will skip draft release creation if there's already a published release with the same name?
Thanks!
The text was updated successfully, but these errors were encountered: