From e77deab8e5cb7fe72f3fc574b2a7a8e77f697ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Fri, 5 Jun 2020 11:39:12 +0200 Subject: [PATCH] Use short commit hash in version (#23) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reinhard Nägele --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e7c7983..fe17073 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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'