-
Notifications
You must be signed in to change notification settings - Fork 10
/
.goreleaser.yaml
56 lines (47 loc) · 1.26 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
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/stego
binary: stego
ldflags:
- -s -w -X "github.com/enrichman/stegosecrets/internal/cli.Version={{ .Version }}"
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-snapshot"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: stegosecrets
description: "CLI for StegoSecretS. Encrypt and share secrets among trusted peers with AES-256, SSS and steganography."
homepage: "https://github.com/enrichman/stegosecrets"
license: "MIT"
tap:
owner: enrichman
name: homebrew-tap
token: "{{ .Env.COMMITTER_TOKEN }}"
folder: Formula
url_template: "https://github.com/enrichman/stegosecrets/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
test: |
output = shell_output("#{bin}/stego version 2>&1")
assert_match "stego version #{version}", output
output = shell_output("#{bin}/stego decrypt 2>&1")
assert_match "missing file to decrypt", output