-
Notifications
You must be signed in to change notification settings - Fork 7
/
.goreleaser.yml
80 lines (80 loc) · 1.71 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
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- '386'
- amd64
- arm
- arm64
goarm:
- '6'
- '7'
ignore:
- goos: darwin
goarch: arm
archives:
- replacements:
'386': i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
nfpms:
- id: linux_packages
replacements:
'386': i386
amd64: x86_64
homepage: https://scrt.run
maintainer: Charles Francoise <[email protected]>
description: A secret manager for the command-line
license: Apache 2.0
formats:
- deb
- rpm
section: devel
rpm:
signature:
key_file: key.gpg
deb:
signature:
key_file: key.gpg
brews:
- goarm: '6'
tap:
owner: loderunner
name: homebrew-scrt
url_template: 'https://homebrew.scrt.run/{{ .Tag }}/{{ .ArtifactName }}'
commit_author:
name: Charles Francoise
email: [email protected]
homepage: 'https://scrt.run'
description: 'A secret manager for the command-line'
license: 'Apache-2.0'
install: bin.install "scrt"
test: system "#{bin}/scrt --version"
skip_upload: auto
dockers:
# Tag release
- image_templates:
- 'loderunner/scrt:{{ .Major }}'
- 'loderunner/scrt:{{ .Major }}.{{ .Minor }}'
- 'loderunner/scrt:{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
- 'loderunner/scrt:latest'
skip_push: auto
# Prerelease
- image_templates:
- 'loderunner/scrt:{{ .Version }}'
checksum:
name_template: 'checksums.txt'
ids:
- default
snapshot:
name_template: '{{ .RawVersion }}-dev-{{ .ShortCommit }}'
release:
ids:
- default