-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
41 lines (41 loc) · 1.08 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
project_name: snipkit
before:
hooks:
- go mod download
builds:
- id: macos
env:
- CGO_ENABLED=0
goos: [ darwin ]
goarch: [ amd64, arm64 ]
flags:
- "-tags={{ if index .Env \"BUILD_TAGS\" }}{{ .Env.BUILD_TAGS }}{{ else }}\"\"{{ end }}"
- id: linux
env:
- CGO_ENABLED=0
goos: [ linux ]
goarch: [ amd64, arm64, 386, arm ]
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
brews:
- repository:
owner: lemoony
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
directory: Formula
homepage: https://github.com/lemoony/snipkit
description: Access snippets from your favorite snippet manager without leaving the terminal
# skip_upload: auto
test: |
system "#{bin}/snipkit", "--version"
nfpms:
-
builds: [linux]
homepage: https://github.com/lemoony/snipkit
maintainer: Philipp Sessler <[email protected]>
description: Access snippets from your favorite snippet manager without leaving the terminal.
license: Apache 2.0
formats:
- deb
- apk
- rpm