-
Notifications
You must be signed in to change notification settings - Fork 16
/
.goreleaser.yml
37 lines (37 loc) · 797 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
35
36
37
project_name: errwrap
release:
prerelease: auto # don't publish release with -rc1,-pre, etc suffixes
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -s -w -X main.version={{.Version}} -X main.date={{.Date}}
binary: "errwrap"
nfpms:
- maintainer: Fatih Arslan
description: Go tool to wrap and fix errors with the new %w verb directive
homepage: https://github.com/fatih/errwrap
license: BSD 3-Clause
formats:
- deb
- rpm
replacements:
darwin: macOS
archives:
- replacements:
darwin: macOS
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'