Skip to content

Commit

Permalink
fix LDFLAGS in goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
lesovsky committed May 17, 2020
1 parent 8b71426 commit 89be232
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Expand Up @@ -13,9 +13,9 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -X github.com/lesovsky/pgcenter/cmd.GitTag={{.Tag}}
- -X github.com/lesovsky/pgcenter/cmd.GitCommit={{.ShortCommit}}
- -X github.com/lesovsky/pgcenter/cmd.GitBranch=master
- -X github.com/lesovsky/pgcenter/cmd.gitTag={{.Tag}}
- -X github.com/lesovsky/pgcenter/cmd.gitCommit={{.ShortCommit}}
- -X github.com/lesovsky/pgcenter/cmd.gitBranch=master
nfpms:
-
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
Expand Down

0 comments on commit 89be232

Please sign in to comment.