diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9db08f9..0568738 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -61,9 +61,10 @@ signs: args: ["sign-blob", "--yes", "--bundle=${signature}", "${artifact}"] # Developer ID signing and notarization; skipped unless the secrets are set. +# Templates use `index .Env`: isEnvSet is GoReleaser Pro only and fails the release. notarize: macos: - - enabled: '{{ isEnvSet "MACOS_SIGN_P12" }}' + - enabled: '{{ if index .Env "MACOS_SIGN_P12" }}true{{ else }}false{{ end }}' ids: [node, server, cli] sign: certificate: "{{ .Env.MACOS_SIGN_P12 }}" @@ -85,8 +86,8 @@ brews: repository: owner: ai-process name: homebrew-tap - token: '{{ if isEnvSet "HOMEBREW_TAP_TOKEN" }}{{ .Env.HOMEBREW_TAP_TOKEN }}{{ end }}' - skip_upload: '{{ if isEnvSet "HOMEBREW_TAP_TOKEN" }}false{{ else }}true{{ end }}' + token: '{{ index .Env "HOMEBREW_TAP_TOKEN" }}' + skip_upload: '{{ if index .Env "HOMEBREW_TAP_TOKEN" }}false{{ else }}true{{ end }}' test: | system "#{bin}/ktms-node", "--version" - name: ktms @@ -97,8 +98,8 @@ brews: repository: owner: ai-process name: homebrew-tap - token: '{{ if isEnvSet "HOMEBREW_TAP_TOKEN" }}{{ .Env.HOMEBREW_TAP_TOKEN }}{{ end }}' - skip_upload: '{{ if isEnvSet "HOMEBREW_TAP_TOKEN" }}false{{ else }}true{{ end }}' + token: '{{ index .Env "HOMEBREW_TAP_TOKEN" }}' + skip_upload: '{{ if index .Env "HOMEBREW_TAP_TOKEN" }}false{{ else }}true{{ end }}' install: | bin.install "ktms" generate_completions_from_executable(bin/"ktms", "completion") diff --git a/CHANGELOG.md b/CHANGELOG.md index 2257e25..27dddfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ All notable changes to KTMS are listed here. The format follows ## [Unreleased] +### Fixed +- The release publishes again with `HOMEBREW_TAP_TOKEN` set: the Homebrew formula step used + `isEnvSet`, a GoReleaser Pro template function, and stopped the 1.3.0 release after its GitHub + release, before the images, the chart and the formulas. Use 1.3.1 instead of 1.3.0. + ## [1.3.0] - 2026-10-24 A usage log for local nodes: the gateway records each request it sends to a node, the node keeps