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

Draft release notes cannot be deleted

オープン
#265 コメント 0 件 リアクション 0 件 担当者 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=`

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start at the release command handling for the proposed --delete-tag option and trace the GitHub release integration. Confirm how a draft release is identified for a tag, then verify that the command removes that draft release while existing release-note behavior remains unchanged.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, javascript, node.js
領域
cli, release
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。