Use short commit in build num
This commit is contained in:
parent
00c737f14c
commit
ff659bb2b2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue