cicd: Short commit hash

This commit is contained in:
jamesread 2022-08-24 20:50:42 +01:00
parent a92ac09235
commit c38b0351e4
1 changed files with 2 additions and 2 deletions

View File

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