-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.goreleaser.yml
95 lines (85 loc) · 1.94 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
project_name: apizza
before:
hooks:
- go mod tidy
- go generate ./...
release:
github:
owner: harrybrwn
name: apizza
prerelease: auto
draft: false
builds:
- binary: apizza
id: apizza
env:
- CGO_ENABLED=0
- GO111MODULE=on
ldflags:
- -s -w
- -X github.com/harrybrwn/apizza/cmd.version={{.Version}}
goos: [linux, darwin, windows]
goarch: [386, amd64, arm64]
ignore:
- { goos: darwin, goarch: 386 }
- { goos: darwin, goarch: arm64 }
- { goos: windows, goarch: arm64 }
archives:
- replacements: &replacements
darwin: MacOS
linux: Linux
windows: Windows
386: 32-bit
amd64: 64-bit
arm64: arm64
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- docs/*
nfpms:
- <<: &description
description: Command line tool for ordering Dominos pizza.
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements: *replacements
maintainer: Harry Brown <[email protected]>
license: Apache 2.0
formats:
- deb
- rpm
bindir: /usr/local/bin
brews:
- <<: *description
name: apizza
github:
owner: harrybrwn
name: homebrew-tap
homepage: https://github.com/harrybrwn/apizza
commit_author:
name: apizza-releasebot
email: [email protected]
folder: Formula
test: |
system "#{bin}/apizza --version"
install: |
bin.install "apizza"
snapcrafts:
- <<: *description
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
summary: Command line tool for ordering Dominos pizza.
grade: stable
confinement: classic
publish: false
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-{{ .ShortCommit }}"
changelog:
skip: true
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'