Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add --generate-notes to gh release edit

オープン
#14,312 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

まず、既存の gh release create --generate-notes のパスを gh release edit と比較し、release コマンドのヘルプとテストを確認します。edit コマンドが既存の release をどのように更新するかを追跡し、--generate-notes が GitHub の Release Notes API を呼び出して生成された body を使用しつつ、release の identity を保持することを確認します。

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

説明

enhancement gh-release
Describe the feature or problem you’d like to solve

gh release create supports --generate-notes, but gh release edit does not.

This makes it unnecessarily difficult to refresh an existing draft release with newly generated notes. gh release create --generate-notes cannot update an existing release, while deleting and recreating the release changes its identity and discards associated state rather than updating it in place.

The current workaround requires calling the REST API separately and passing its output back to gh release edit:

gh api \
  --method POST \
  "repos/${GITHUB_REPOSITORY}/releases/generate-notes" \
  --field tag_name="${tag_name}" \
  --field target_commitish="${target_commitish}" \
  --jq '.body' > release-notes.md

gh release edit "${release_tag}" --notes-file release-notes.md
Proposed solution

Support --generate-notes on gh release edit, consistently with gh release create:

gh release edit next --generate-notes

The command should generate release notes through GitHub’s Release Notes API and use the generated body when updating the existing release.

Additional context

Confirmed with gh version 2.98.0: gh release edit --help exposes --notes and --notes-file, but no option for generating notes.

主要言語
Go
スター
46.3k
フォーク
9.1k
平均マージ
1日 7時間
マージ済み PR(30日)
76

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cli/cli のほかの issue

cli/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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