There was an error while loading. Please reload this page.
1 parent cb3c6b6 commit 275bcf5Copy full SHA for 275bcf5
goreleaser.yml
@@ -1,7 +1,7 @@
1
build:
2
main: main.go
3
binary: hugo
4
- ldflags_template: -s -w -X hugolib.BuildDate={{.Date}}
+ ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -linkmode external -extldflags "-static"
5
goos:
6
- darwin
7
- linux
0 commit comments