build: リリース版 2.4.10-0.1.0 を宣言する - #33
Merged
Merged
Conversation
公開プラグインの既定は「リリース版なら署名必須」で、その判定はローカル公開にも及ぶ。 integration-test のフィクスチャは鍵の無い環境で publishToMavenLocal を使うため、そのままでは リリース版を宣言した時点でローカル公開が成立しなくなる(署名対象が無いとして失敗する)。 ローカル公開のタスクはリモートとは別型であり、必須とする範囲をリモートへ publish する場合に絞れる。 未署名のまま公開へ進むことは、公開先の検証が受け付けないことで防がれる。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
自版から -SNAPSHOT を外す。版表記の同期はこの宣言で対象が切り替わるが、リリース版の値自体は 変わらないため、README と概要の表記に差分は生じない。 Co-Authored-By: Claude Opus 5 <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.
初回リリースに向けて
enumizerVersionから-SNAPSHOTを外す(リリース手順 1)。マージ後にタグ
v2.4.10-0.1.0を push すると CD が動く。署名の必須条件を直している
-SNAPSHOTを外すと公開プラグインが署名を必須にするが、その判定はローカル公開にも及ぶ。integration-test のフィクスチャは鍵の無い環境で
publishToMavenLocalを使うため、そのままでは integration-test が全滅する(
no configured signatoryで失敗)。ローカル公開のタスクはリモートとは別型(どちらも
AbstractPublishToMavenを継承する兄弟)であり、必須とする範囲をリモートへ publish する場合に絞れる。次を実測して確認済み:
publishAllToMavenLocalpublishAllPublicationsToMavenCentralRepositoryno configured signatoryで失敗未署名のまま公開へ進むことは、公開先の検証が受け付けないことで防がれる。
版表記について
リリース版の値(
0.1.0)は-SNAPSHOTを落とした値と同じであるため、syncVersionMentionsを実行しても README と概要に差分は生じない。CHANGELOG も記載済み。ルートビルド green。integration-test は CI の確認に委ねる(リリース版ではローカル Maven の
上書き公開・非キャッシュという前提が変わるため、ここが本 PR の主な確認点になる)。
🤖 Generated with Claude Code