From ff659bb2b2124493638027dcafcc1accf99a683a Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Sat, 15 Apr 2023 20:00:48 -0400 Subject: [PATCH] Use short commit in build num --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 01ba9b1..18c5be2 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,7 +16,7 @@ builds: - darwin ldflags: - -X {{ .Env.BASE_PKG }}/version.Version={{.Version}} - - -X {{ .Env.BASE_PKG }}/version.Build={{.Commit}} + - -X {{ .Env.BASE_PKG }}/version.Build={{.ShortCommit}} - -X {{ .Env.BASE_PKG }}/version.BuildDate={{.Date}} - -X {{ .Env.BASE_PKG }}/version.BuiltBy=goreleaser dockers: