Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TQ_BUILD_PROFILE: ""
4 changes: 4 additions & 0 deletions docs/design/deployment.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Tasq は version tag の push を起点にリリース成果物をデプロイ
5. workflow が Web frontend を build し、Go tests を実行し、その後 GoReleaser を実行します。
6. GoReleaser が `tq` と管理対象サービスの実行ファイルを build して archives にまとめ、checksums を作成し、GitHub Release を作成または更新します。

Release artifact では空の `TQ_BUILD_PROFILE` を使用します。GoReleaser は
template から参照する環境変数について、意図する値が空の場合でも変数自体が
存在することを要求するため、workflow で明示的に定義します。

## Prerelease

Prerelease は、正式な安定版 release として扱わない検証用 build に使います。
Expand Down
4 changes: 4 additions & 0 deletions docs/design/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Tasq deploys release artifacts by pushing version tags. The local operator creat
5. The workflow builds the Web frontend, runs Go tests, and then runs GoReleaser.
6. GoReleaser builds `tq` plus the managed service executables, packages them into archives, checksums them, and creates or updates the GitHub Release.

Release artifacts use an empty `TQ_BUILD_PROFILE`. The workflow defines the
variable explicitly because GoReleaser requires every environment variable
referenced by its templates to exist, even when the intended value is empty.

## Prerelease

Use prereleases for validation builds that should not be treated as formal stable releases.
Expand Down
Loading