Skip to content

Commit c77e6af

Browse files
authored
Merge pull request cli#2294 from cli/fix-ldflags
Update LDFLAGS in goreleaser
2 parents 78f0474 + 3fcd791 commit c77e6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ builds:
1515
binary: bin/gh
1616
main: ./cmd/gh
1717
ldflags:
18-
- -s -w -X github.com/cli/cli/command.Version={{.Version}} -X github.com/cli/cli/command.BuildDate={{time "2006-01-02"}}
18+
- -s -w -X github.com/cli/cli/internal/build.Version={{.Version}} -X github.com/cli/cli/internal/build.Date={{time "2006-01-02"}}
1919
- -X main.updaterEnabled=cli/cli
2020
id: macos
2121
goos: [darwin]

0 commit comments

Comments
 (0)