From 96573d02908611a0310357c6d02502fcd65f780e Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 1 Mar 2019 05:13:48 -0300 Subject: [PATCH] fix: invalid config (#3) `git.short_hash` was deprecated and removed https://goreleaser.com/deprecations/ --- .goreleaser.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e06577a..a8e6639 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,7 @@ project_name: gitprompt builds: - main: ./cmd/gitprompt binary: gitprompt - ldflags: -s -w -X "main.version={{.Version}}" -X "main.commit={{.Commit}}" -X "main.date={{.Date}}" -X "main.goversion={{.Env.GOVERSION}}" + ldflags: -s -w -X "main.version={{.Version}}" -X "main.commit={{.ShortCommit}}" -X "main.date={{.Date}}" -X "main.goversion={{.Env.GOVERSION}}" env: - CGO_ENABLED=0 archive: @@ -17,8 +17,6 @@ changelog: exclude: - '^docs:' - '^test:' -git: - short_hash: true brew: github: owner: akupila