-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
68 lines (61 loc) · 1.62 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
# - go mod vendor
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- env:
- CGO_ENABLED=0
flags:
- -mod=vendor
goos:
- darwin
- linux
- freebsd
goarch:
- amd64
- arm64
checksum:
name_template: 'checksums.txt'
sign:
artifacts: checksum
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^vendor:'
- '^refactor:'
brew:
# Repository to push the tap to.
github:
owner: lfaoro
name: tap
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: Leonardo Faoro
email: [email protected]
# Your app's homepage.
# Default is empty.
homepage: "https://github.com/lfaoro/ion"
# Your app's description.
# Default is empty.
description: "a geeky & friendly way to simply encrypt locally & share."
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
skip_upload: false
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/ncrypt --version"