-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
62 lines (54 loc) · 1.14 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
60
61
62
# Documentation can be found here: https://goreleaser.com
version: 2
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/aws-knox/main.go
binary: knox
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- "-s -w -X github.com/null93/aws-knox/internal.Version={{ .Version }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- file_name_template: "{{ .ConventionalFileName }}"
id: packages
homepage: https://github.com/null93/aws-knox
description: AWS credential process helper
maintainer: Rafael Grigorian <[email protected]>
vendor: null93
bindir: /usr/bin
section: utils
formats:
- apk
- deb
- rpm
- archlinux
brews:
- repository:
owner: null93
name: homebrew-tap
directory: Formula
goarm: "7"
homepage: https://github.com/null93/aws-knox
description: AWS credential process helper
test: |
system "#{bin}/knox -v"