-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
105 lines (97 loc) · 2.7 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
96
97
98
99
100
101
102
103
104
105
report_sizes: true
# Build customization
builds:
- env:
- CGO_ENABLED=0
binary: sopstool
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
goarm:
- ""
goamd64:
- ""
universal_binaries:
- id: sopstool
# Whether to remove the previous single-arch binaries from the artifact list.
# If left as false, your end release might have both several macOS archives:
# amd64, arm64 and all. The `sopstoolinstall.sh` currently needs these
replace: false
archives:
- id: newzips
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
name_template: "{{ .ProjectName }}_checksums.txt"
sboms:
- artifacts: binary
documents: ["{{ .Binary }}_{{ .Os }}_{{ .Arch }}.sbom"]
nfpms:
- id: default
# You can change the file name of the package.
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
vendor: Ibotta
homepage: https://github.com/Ibotta/sopstool
maintainer: Ibotta <oss@ibotta.com>
description: "A multi-file wrapper for Mozilla sops"
license: Apache 2.0
# Formats to be generated.
formats:
- deb
- rpm
- apk
# Packages your package depends on.
dependencies:
- sops
brews:
- ids:
- newzips
tap:
# Repo to push the tap
owner: Ibotta
name: homebrew-public
# Git author used to commit to the repository.
commit_author:
name: sopstoolGoreleaser
email: oss@ibotta.com
# Folder inside the repository to put the formula.
folder: Formula
# caveats: "How to use this binary"
homepage: "https://github.com/Ibotta/sopstool"
description: "A multi-file wrapper for Mozilla sops"
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# Default is false.
skip_upload: false
# Packages your package depends on.
dependencies:
- sops
# So you can `brew test` your formula.
test: |
system "#{bin}/sopstool version"
install: |
bin.install "sopstool"
goarm: ""
goamd64: ""
blobs:
- provider: s3
# Bucket name (without the s3:// prefix)
bucket: oss-pkg.ibotta.com
# AWS Region to use.
region: us-east-1
# Default: '{{ .ProjectName }}/{{ .Tag }}'
folder: "{{ .ProjectName }}/{{ .Tag }}"
- provider: s3
bucket: oss-pkg.ibotta.com
region: us-east-1
folder: "{{ .ProjectName }}"
extra_files:
- glob: ./*install.sh