forked from numtide/devshell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
34 lines (34 loc) · 843 Bytes
/
.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
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
before:
hooks:
- bash -c "cd devshell && go mod download"
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
dir: devshell
goos:
- darwin
- freebsd
- linux
goarch:
- '386'
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
signs:
- artifacts: checksum
args:
# if you are using this is a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"