Use short commit in build num

This commit is contained in:
Evan Fiordeliso 2023-04-15 20:00:48 -04:00
parent 00c737f14c
commit ff659bb2b2
1 changed files with 1 additions and 1 deletions

View File

@ -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: