From ef93fbb10bbbe47876906db06eb3c006191565ea Mon Sep 17 00:00:00 2001 From: Nofre Date: Thu, 22 May 2025 07:14:49 +0200 Subject: [PATCH] fix(release): release flags fixed --- .goreleaser.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 678ec1d..196fc60 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,17 +4,20 @@ builds: id: "qube" binary: qube ldflags: - - -s -w - - -X github.com/apiqube/cli/cmd/cli.version={{.Version}} - - -X github.com/apiqube/cli/cmd/cli.commit={{.ShortCommit}} - - -X github.com/apiqube/cli/cmd/cli.date={{.Date}} + - -s -w -X github.com/apiqube/cli/cmd/cli.Version={{.Version}} + - -s -w -X github.com/apiqube/cli/cmd/cli.Commit={{.ShortCommit}} + - -s -w -X github.com/apiqube/cli/cmd/cli.Date={{.Date}} env: - CGO_ENABLED=0 goos: [linux, darwin, windows] goarch: [amd64, arm64] +archives: + - format: binary + name_template: '{{ .Binary }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}' + checksum: - name_template: "checksums.txt" + name_template: '{{ .ProjectName }}_v{{ .Version }}_checksums.txt' report_sizes: true