Skip to content

Commit

Permalink
Use short commit hash in version (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Reinhard Nägele <[email protected]>
  • Loading branch information
unguiculus authored Jun 5, 2020
1 parent d177788 commit e77deab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
ldflags:
- >-
-X github.com/craftypath/gotf/pkg/gotf.Version={{ .Tag }}
-X github.com/craftypath/gotf/pkg/gotf.GitCommit={{ .Commit }}
-X github.com/craftypath/gotf/pkg/gotf.GitCommit={{ .ShortCommit }}
-X github.com/craftypath/gotf/pkg/gotf.BuildDate={{ .Date }}
checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit e77deab

Please sign in to comment.