Merge pull request #2294 from cli/fix-ldflags
Update LDFLAGS in goreleaser
This commit is contained in:
commit
c77e6afb03
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ builds:
|
|||
binary: bin/gh
|
||||
main: ./cmd/gh
|
||||
ldflags:
|
||||
- -s -w -X github.com/cli/cli/command.Version={{.Version}} -X github.com/cli/cli/command.BuildDate={{time "2006-01-02"}}
|
||||
- -s -w -X github.com/cli/cli/internal/build.Version={{.Version}} -X github.com/cli/cli/internal/build.Date={{time "2006-01-02"}}
|
||||
- -X main.updaterEnabled=cli/cli
|
||||
id: macos
|
||||
goos: [darwin]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue