diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cf9041..cb62ff7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,5 +43,5 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} + SENTRY_DSN: "${{ secrets.SENTRY_DSN }}" + POSTHOG_API_KEY: "${{ secrets.POSTHOG_API_KEY }}" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6ad33d8..9c88b54 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -23,7 +23,10 @@ builds: - SENTRY_DSN={{ if index .Env "SENTRY_DSN" }}{{ .Env.SENTRY_DSN }}{{ else }}default_null{{ end }} - POSTHOG_API_KEY={{ if index .Env "POSTHOG_API_KEY" }}{{ .Env.POSTHOG_API_KEY }}{{ else }}default_null{{ end }} ldflags: - - -s -w -X main.AppVersion={{.Version}} -X main.SentryDsn={{.Env.SENTRY_DSN}} -X main.PosthogApiKey={{.Env.POSTHOG_API_KEY}} + - -s -w + - -X main.AppVersion={{.Version}} + - -X main.SentryDsn={{.Env.SENTRY_DSN}} + - -X main.PosthogApiKey={{.Env.POSTHOG_API_KEY}} goos: - linux - windows