-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
70 lines (62 loc) · 1.35 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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
release:
prerelease: false
archives:
- files:
- LICENSE
- README.md
- completions/**/*
brews:
- description: "Light speed crc32c checksums"
tap:
owner: chanzuckerberg
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
homepage: "https://github.com/chanzuckerberg/crc-squared"
test: system "#{bin}/crc-squared --version"
install: |
bin.install "crc-squared"
bash_completion.install "completions/bash" => "crc-squared"
zsh_completion.install "completions/zsh" => "_crc-squared"
nfpms:
-
vendor: chanzuckerberg
maintainer: Todd Morse <todd@morsecodist.io>
homepage: "https://github.com/chanzuckerberg/crc-squared"
description: "Light speed crc32c checksums"
license: MIT
formats:
- deb
- rpm
contents:
- src: completions/bash
dst: /etc/bash_completion.d/crc-squared
type: config
- src: completions/zsh
dst: /usr/share/zsh/functions/Completion/_crc-squared
type: config
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"