github-tools / github-tools/github-release-notes

Draft release notes cannot be deleted

未關閉
#265 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
897
分支
313
PR 合併指標
30 天內沒有已合併 PR

描述

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=`

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。