Skip to content

Commit 6e7a469

Browse files
committed
combine into one build again
1 parent 7508886 commit 6e7a469

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,21 @@ before:
33
hooks:
44
- go mod tidy
55
- go test ./...
6+
- go install mvdan.cc/garble@latest
67
builds:
7-
- id: windows
8-
env:
8+
- env:
99
- CGO_ENABLED=0
1010
goos:
1111
- windows
12+
- linux
13+
- darwin
1214
flags:
1315
- -trimpath
1416
ldflags:
1517
- -s -w -X github.com/d-led/pathdebug/common.Version={{.Version}}
1618
hooks:
1719
pre:
18-
- go install mvdan.cc/garble@latest
1920
- garble -tiny -literals -seed=random build
20-
- id: non-windows
21-
env:
22-
- CGO_ENABLED=0
23-
goos:
24-
- linux
25-
- darwin
26-
ldflags:
27-
- -s -w -X github.com/d-led/pathdebug/common.Version={{.Version}}
2821

2922
archives:
3023
- formats: [ 'tar.gz' ]

0 commit comments

Comments
 (0)