From 0c70264467d300725f6e99f0446e216f3fbf51b2 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Wed, 21 Feb 2024 10:27:58 -0800 Subject: [PATCH] ldflags --- .goreleaser.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0625d3d43..5e38e80c6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,8 +13,7 @@ builds: flags: - -mod=readonly ldflags: - - -s -w -X main.version={{.Version}} - - -X "github.com/onflow/flow-cli/build.commit={{ .Env.COMMIT }}" -X "github.com/onflow/flow-cli/build.semver={{ .Env.VERSION }}" -X "github.com/onflow/flow-cli/internal/command.mixpanelToken={{ .Env.MIXPANEL_PROJECT_TOKEN }}" -X "github.com/onflow/flow-cli/internal/accounts.accountToken={{ .Env.LILICO_TOKEN }}" + - -X github.com/onflow/flow-cli/build.commit={{ .Env.COMMIT }} -X github.com/onflow/flow-cli/build.semver={{ .Env.VERSION }} -X github.com/onflow/flow-cli/internal/command.mixpanelToken={{ .Env.MIXPANEL_PROJECT_TOKEN }} -X github.com/onflow/flow-cli/internal/accounts.accountToken={{ .Env.LILICO_TOKEN }} archives: - id: golang-cross builds: @@ -35,7 +34,7 @@ changelog: release: github: - owner: goreleaser - name: golang-cross-example + owner: onflow + name: flow-cli prerelease: auto draft: false \ No newline at end of file