Skip to content

ci: define release build profile - #294

Merged
version-1 merged 2 commits into
mainfrom
ci/fix-release-build-profile
Jul 28, 2026
Merged

ci: define release build profile#294
version-1 merged 2 commits into
mainfrom
ci/fix-release-build-profile

Conversation

@version-1

Copy link
Copy Markdown
Owner

Release build profile の明示

Summary

Release workflow の GoReleaser step が、未定義の TQ_BUILD_PROFILE を template 展開できず失敗していた問題を修正します。

主な変更点:

  • GoReleaser step に空の TQ_BUILD_PROFILE を明示
  • 通常の release artifact が profile なしである契約を明文化
  • deployment 文書の英語版と日本語版を同期

やったこと

  • .github/workflows/release.yml の GoReleaser 環境変数を修正
  • docs/design/deployment.mddocs/design/deployment.ja.md を更新
  • GoReleaser 2.17.1 の snapshot release で全対象 binary の build を確認

動作確認

  • go test ./...
  • cmd/web/frontendnpm run build
  • TQ_BUILD_PROFILE='' goreleaser release --snapshot --clean
  • workflow と GoReleaser 設定の YAML parse
  • git diff --check

レビュー & 動作確認 チェックリスト

  • Release profile - 通常 release が空の build profile を使用すること
  • GoReleaser template - TQ_BUILD_PROFILE が全 build の template で展開できること
  • Documentation - 英日 deployment 文書の内容が同期していること

推奨テスト計画:

  1. Release workflow の GoReleaser step へ空の TQ_BUILD_PROFILE が渡ることを確認する
  2. prerelease tag で Release workflow が成功することを確認する
  3. 作成された release binary が profile なしの既定 home を解決することを確認する

その他気になることや相談ごと

指定された失敗 run は既存 tag に紐づくため、この PR の CI では snapshot build を代替検証としています。

Define the empty production build profile for the GoReleaser step so its environment template can be expanded. Document the release profile contract in English and Japanese.\n\nVerified with go test ./..., the Web production build, YAML parsing, and git diff --check.
@version-1
version-1 enabled auto-merge July 28, 2026 23:16
@version-1
version-1 merged commit 883b3b5 into main Jul 28, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant