-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
59 lines (54 loc) · 1.11 KB
/
.goreleaser.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
binary: pkup
main: ./main.go
ldflags:
- -s
- -w
- -X main.pkupClientID={{.Env.PKUP_GEN_CLIENT_ID}}
- -X main.version=v{{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.CommitDate}}
- -X main.buildOs={{.Os}}
- -X main.buildArch={{.Arch}}
- -X main.builtBy=goreleaser
goos:
- linux
- darwin
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "7"
archives:
- files:
- README.md
- LICENSE
brews:
- homepage: "http://github.com/pPrecel/pkup-gen"
description: "Simple tool to generate PKUP artifacts."
tap:
owner: pPrecel
name: homebrew-tap
goarm: "7"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
license: "MIT"
test: |
system "#{bin}/pkup"
install: |
bin.install "pkup"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}"
changelog:
sort: asc