-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
49 lines (48 loc) · 1.07 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
# Run locally with: goreleaser --rm-dist --snapshot --skip-publish
project_name: locker
before:
hooks:
- go mod tidy
- go mod download
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X "main.Version={{.Version}}" -X "main.Build={{.ShortCommit}}"
- -a -extldflags "-static"
goos:
- windows
- linux
- darwin
goarch:
#- arm
- arm64
- amd64
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
nfpms:
-
package_name: locker
vendor: Luca Sepe
homepage: https://github.com/lucasepe/locker
description: Store secrets on your local file system.
license: MIT
maintainer: Luca Sepe
formats:
- deb
- rpm
brews:
- homepage: 'https://github.com/lucasepe/locker'
description: 'Store secrets on your local file system.'
folder: Formula
commit_author:
name: lucasepe
email: luca.sepe@gmail.it
tap:
owner: lucasepe
name: homebrew-locker
install: |
bin.install "locker"