-
-
Notifications
You must be signed in to change notification settings - Fork 496
/
.goreleaser.yml
140 lines (129 loc) · 3.53 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# goreleaser.yml
# Release automation
#
# Build customization
project_name: gopass
before:
hooks:
- make clean
- make completion
- go mod download
builds:
- id: gopass
binary: gopass
flags:
- -trimpath
- -tags=netgo
env:
- CGO_ENABLED=0
asmflags:
- all=-trimpath={{.Env.HOME}}
gcflags:
- all=-trimpath={{.Env.HOME}}
ldflags: |
-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static'
goos:
- darwin
- freebsd
- linux
- openbsd
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- id: gopass
name_template: "{{.Binary}}-{{.Version}}-{{.Os}}-{{.Arch}}{{ if .Arm }}v{{.Arm }}{{ end }}"
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- CHANGELOG.md
- LICENSE
- README.md
- bash.completion
- fish.completion
- zsh.completion
release:
github:
owner: gopasspw
name: gopass
draft: false
prerelease: auto
nfpms:
- id: gopass_deb
vendor: Gopass Authors
homepage: "https://www.gopass.pw"
maintainer: "Gopass Authors <[email protected]>"
description: |-
gopass password manager - full featured CLI replacement for pass, designed for teams.
.
gopass is a simple but powerful password manager for your terminal. It is a
Pass implementation in Go that can be used as a drop in replacement.
.
Every secret lives inside of a gpg (or: age) encrypted textfile. These secrets
can be organized into meaninful hierachies and are by default versioned using
git.
.
This package contains the main gopass binary from gopass.pw. In Debian and
Ubuntu there is an unfortunate name clash with another gopass package. That is
completely different and not related to this package.
license: MIT
formats:
- deb
dependencies:
- git
- gnupg
recommends:
- rng-tools
- bash-completion
- id: gopass_rpm
vendor: Gopass Authors
homepage: "https://www.gopass.pw"
maintainer: "Gopass Authors <[email protected]>"
description: |-
gopass password manager - full featured CLI replacement for pass, designed for teams.
gopass is a simple but powerful password manager for your terminal. It is a
Pass implementation in Go that can be used as a drop in replacement.
Every secret lives inside of a gpg (or: age) encrypted textfile. These secrets
can be organized into meaninful hierachies and are by default versioned using
git.
license: MIT
formats:
- rpm
dependencies:
- git
- gnupg2
recommends:
- rng-tools
- bash-completion
source:
enabled: true
name_template: "{{.ProjectName}}-{{.Version}}"
checksum:
name_template: "{{.ProjectName}}_{{.Version}}_SHA256SUMS"
milestones:
-
repo:
owner: gopasspw
name: gopass
close: true
fail_on_error: false
name_template: "{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
signs:
-
id: gopass
artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--armor", "--output", "${signature}", "--detach-sign", "${artifact}"]
# creates SBOMs of all archives and the source tarball using syft
# https://goreleaser.com/customization/sbom
sboms:
- artifacts: archive
- id: source # Two different sbom configurations need two different IDs
artifacts: source