-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
145 lines (120 loc) Β· 3.38 KB
/
.goreleaser.yaml
File metadata and controls
145 lines (120 loc) Β· 3.38 KB
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
141
142
143
144
145
version: 2
project_name: rsecure
builds:
- id: rsecure
builder: rust
binary: rsecure
targets:
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
archives:
- id: rsecure
formats: ["tar.gz"]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# Already included in the .tar.gz
# files:
# - LICENSE
# - README.md
nfpms:
- id: rsecure
package_name: rsecure
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
homepage: https://github.com/containerscrew/rsecure
vendor: containerscrew
description: Secure file encryption using pure Rust and AES
maintainer: containerscrew <info@containerscrew.com>
license: GPL3
formats:
- apk
- deb
- rpm
- archlinux
checksum:
name_template: "checksums.txt"
algorithm: sha256
signs:
- artifacts: checksum
cmd: gpg2
output: true
args:
[
"--batch",
"-u",
"{{ .Env.GPG_FINGERPRINT }}",
"--output",
"${signature}",
"--detach-sign",
"${artifact}",
]
snapshot:
version_template: "{{ .Tag }}"
release:
draft: false
changelog:
sort: asc
use: github
filters:
exclude:
- "^docs:"
- "^test:"
homebrew_casks:
- name: rsecure
binaries:
- rsecure
url:
template: "https://github.com/containerscrew/rsecure/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
verified: "github.com/containerscrew/rsecure/"
homepage: "https://github.com/containerscrew/rsecure"
description: "Secure file encryption using pure Rust and AES"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
repository:
owner: containerscrew
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
source:
enabled: true
name_template: '{{ .ProjectName }}-{{ .Version }}'
format: "tar.gz"
aur_sources:
- name: rsecure
homepage: "https://github.com/containerscrew/rsecure"
description: "Secure file encryption CLI written in Rust"
maintainers:
- "containerscrew <info@containerscrew.com>"
license: "GPL3"
git_url: "ssh://aur@aur.archlinux.org/rsecure.git"
private_key: "{{ .Env.AUR_KEY }}"
depends: []
makedepends:
- rust
- cargo
build: |-
cargo build --release --locked
package: |-
install -Dm755 "target/release/rsecure" "$pkgdir/usr/bin/rsecure"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
commit_msg_template: "Update to {{ .Tag }}"
aurs:
- name: rsecure-bin
homepage: "https://github.com/containerscrew/rsecure"
description: "Secure file encryption CLI written in Rust (pre-compiled binary)"
maintainers:
- "containerscrew <info@containerscrew.com>"
license: "GPL3"
git_url: "ssh://aur@aur.archlinux.org/rsecure-bin.git"
private_key: "{{ .Env.AUR_KEY }}"
provides:
- rsecure
conflicts:
- rsecure
package: |-
install -Dm755 "rsecure" "$pkgdir/usr/bin/rsecure"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/rsecure/README.md"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/rsecure/LICENSE"
commit_msg_template: "Update rsecure-bin to {{ .Tag }}"