Skip to content

Commit 43e839d

Browse files
committed
update goreleaser
1 parent a5be90f commit 43e839d

File tree

1 file changed

+26
-14
lines changed

1 file changed

+26
-14
lines changed

.goreleaser.yml

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
1+
before:
2+
hooks:
3+
- go mod tidy
4+
15
builds:
2-
- env:
3-
- CGO_ENABLED=0
6+
-
47
goos:
5-
- darwin
6-
- linux
7-
- windows
8-
archive:
8+
- linux
9+
- windows
10+
- darwin
11+
goarch:
12+
- amd64
13+
- 386
14+
env:
15+
- CGO_ENABLED=0
16+
ldflags:
17+
- -X github.com/codefresh-io/venona/venonactl/cmd.version={{.Version}} -X github.com/codefresh-io/venona/venonactl/cmd.commit={{.Commit}} -X github.com/codefresh-io/venona/venonactl/cmd.date={{.Date}}
18+
19+
archives:
20+
-
921
replacements:
1022
darwin: Darwin
1123
linux: Linux
1224
windows: Windows
1325
386: i386
1426
amd64: x86_64
15-
format_overrides:
16-
- goos: windows
17-
format: zip
18-
checksum:
19-
name_template: 'checksums.txt'
20-
snapshot:
21-
name_template: "{{ .Tag }}-next"
27+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
2228
changelog:
2329
sort: asc
2430
filters:
2531
exclude:
2632
- '^docs:'
27-
- '^test:'
33+
- '^test:'
34+
35+
36+
release:
37+
github:
38+
owner: codefresh-io
39+
name: stevedore

0 commit comments

Comments
 (0)