diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0a45e6cf4b..09f57dd479 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,7 +16,7 @@ builds: - darwin dir: src ldflags: - - -s -w -X github.com/defenseunicorns/zarf/src/config.CLIVersion={{.Version}} + - -s -w -X github.com/defenseunicorns/zarf/src/config.CLIVersion={{.Tag}} goarch: - amd64 - arm64 @@ -29,6 +29,7 @@ builds: archives: - format: binary + name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}" replacements: darwin: Darwin linux: Linux