-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
47 lines (47 loc) · 1.08 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
project_name: gh-tools
release:
prerelease: auto
before:
hooks:
- go mod tidy
builds:
- <<: &build_defaults
main: ./cmd/gh-find
id: gh-find
binary: gh-find
flags:
- -trimpath
ldflags:
- -s -w -X github.com/pmatseykanets/gh-tools/version.Version={{.Version}}
env:
- CGO_ENABLED=0
goos: [darwin, linux, windows]
goarch: [amd64, arm64, 386]
ignore:
- goos: windows
goarch: arm64
- <<: *build_defaults
main: ./cmd/gh-pr
id: gh-pr
binary: gh-pr
- <<: *build_defaults
main: ./cmd/gh-watch
id: gh-watch
binary: gh-watch
- <<: *build_defaults
main: ./cmd/gh-go-rdeps
id: gh-go-rdeps
binary: gh-go-rdeps
- <<: *build_defaults
main: ./cmd/gh-purge-artifacts
id: gh-purge-artifacts
binary: gh-purge-artifacts
archives:
- builds: [gh-find, gh-pr, gh-watch, gh-go-rdeps, gh-purge-artifacts]
format_overrides:
- goos: windows
format: zip
files:
- none*
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'