-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
38 lines (38 loc) · 919 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
38
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}`.
ldflags:
- -s -w -X main.buildVersion={{.Version}} -X main.buildCommit={{.ShortCommit}} -X main.buildDate={{.Date}}
archives:
- format_overrides:
- goos: windows
format: zip
universal_binaries:
- replace: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
brews:
-
repository:
owner: mroth
name: homebrew-tap
description: "Draft GitHub Release of the next semver in web browser"
homepage: "https://github.com/mroth/bump"
skip_upload: false
# disable changelog generation entirely, since bump will manage that itself!
changelog:
skip: true