/
.goreleaser.yml
executable file
·48 lines (48 loc) · 995 Bytes
/
.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
48
project_name: rif
brew:
description: "File-based HTTP client for API developers"
homepage: https://jonathanlloyd.github.io/rif
github:
name: homebrew-rif
owner: jonathanlloyd
commit_author:
name: goreleaserbot
email: goreleaserbot@thisisjonathan.com
release:
github:
owner: jonathanlloyd
name: rif
name_template: '{{.Tag}}'
builds:
- goos:
- windows
- linux
- darwin
goarch:
- amd64
- "386"
goarm:
- "6"
main: cmd/rif.go
hooks:
pre: ./scripts/buildno
ldflags: -s -w -X main.version={{.Version}} -X main.buildNo={{.Env.BUILDNO}}
binary: rif
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: tar.gz
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist