Skip to content
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

Draft release notes cannot be deleted #265

Open
amenon opened this issue Mar 9, 2020 · 0 comments
Open

Draft release notes cannot be deleted #265

amenon opened this issue Mar 9, 2020 · 0 comments

Comments

@amenon
Copy link

amenon commented Mar 9, 2020

Here is the use-case I am trying to solve:

I'd like to tag my repo with the tag latest and draft a release with that tag every time PRs are merged into master. When that code is actually deployed to production, I create a tag using the git sha as the tag name and create a new release:

gren release --ignore-tags-with=latest

This creates a new release with the newly created tag. However, it also leaves a draft release for the latest tag even though the new tag is at the same level as latest. Until the latest tag moves ahead of the new tag, it's release notes are a duplicate and in the draft state.

I would like the option to remove a draft release using gren and am happy to submit a PR. The proposed command options would be: gren release --delete-tag=<tag_name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants