Skip to content

Commit

Permalink
fix: invalid config (#3)
Browse files Browse the repository at this point in the history
`git.short_hash` was deprecated and removed 

https://goreleaser.com/deprecations/
  • Loading branch information
caarlos0 authored and akupila committed Mar 1, 2019
1 parent 97647f5 commit 96573d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -17,8 +17,6 @@ changelog:
exclude:
- '^docs:'
- '^test:'
git:
short_hash: true
brew:
github:
owner: akupila
Expand Down

0 comments on commit 96573d0

Please sign in to comment.