diff --git a/.goreleaser.yml b/.goreleaser.yml index 5356a78..a3c3b34 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,12 +34,12 @@ builds: goarch: arm64 ldflags: - - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} + - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{ .CommitDate }} checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Branch }}-{{ .Commit }}" + name_template: "{{ .Branch }}-{{ .ShortCommit }}" changelog: sort: asc filters: