-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yaml
46 lines (43 loc) · 1.04 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
# Run locally with: goreleaser --rm-dist --snapshot --skip-publish
project_name: grasp
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
goarm:
- 7
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
brews:
- homepage: 'https://github.com/lucasepe/homebrew-grasp'
description: 'A password manager that does not require any type of storage.'
folder: Formula
commit_author:
name: lucasepe
email: luca.sepe@kiragmailtech.it
tap:
owner: lucasepe
name: homebrew-grasp
install: |
bin.install "grasp"
announce:
twitter:
enabled: false
message_template: 'Grasp {{ .Tag }} is out! Check it out: https://github.com/lucasepe/grasp/releases/tag/{{ .Tag }}'