Repository navigation
release: 2.0.1 - #31
Merged
Merged
Conversation
Tag Releaseがmainへの任意のpushでタグを作れる状態だったため、公開意図と 経路を検証するようにした。既存タグはmainから到達できる場合のみ公開済みと して終了し、main上にないタグを指している場合は失敗させる。 publishのdry-runで警告件数を検査する。--forceは確認を省略するだけで警告を 消さないため、警告が残った状態でpub.devへ送られる経路があった。 merge-backはorigin/mainの先端ではなく公開したタグのコミットを取り込む。 PR作成の失敗をすべて「既存PR」と誤表示していたフォールバックも直した。 publishにconcurrencyを追加し、GitHub Releaseの作成を冪等にした。 ciに集約ジョブ all checks passed を追加した。必須チェックとして指定する ことで、マトリクスの構成を変えても設定が壊れない。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
bumpVersionは[Unreleased]の本文を各プレリリースで消費するため、昇格時に 本文が空の安定版セクションを生成していた。さらにverifyReleaseが本文の空を 検査していなかったため、空のリリースノートのままpub.devへ公開される経路に なっていた。 安定版への昇格時は、同じベースを持つ全プレリリースと[Unreleased]の本文を カテゴリ別に統合する。カテゴリはBreaking changes / Added / Changed / Deprecated / Removed / Fixed / Securityの順、それ以外は初出順。カテゴリ内は SemVerの優先順位で古い順に並べ、同一行は重複排除する。統合したプレリリースは 見出しと日付を残し、本文をポインタ1行に置き換える。 あわせてcompareReleaseVersionsを追加し、pubspecの現在値およびCHANGELOG上の 既存リリースより真に大きいバージョンだけを許可する。verifyReleaseに リリースノートの本文検証を追加した。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Phase 0: 昇格対応とリリース経路の検証強化
ベータの内容を統合した結果、利用者向けの変更ではないCI自動化の項目が Addedに残っていた。パッケージ利用者から見た変更点だけを残す。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tool/bump_version.dartによる自動生成。マージするとv2.0.1タグが作成され、pub.devへの公開とGitHub Release作成まで自動実行される。