forked from elephant-graveyard/build-load
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
57 lines (51 loc) · 1.28 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
---
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
main: ./cmd/build-load/main.go
flags:
- -tags
- netgo
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/build-load/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- replacements:
darwin: darwin
linux: linux
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
release:
name_template: "{{.ProjectName}} release v{{.Version}}"
changelog:
skip: false
sort: ""
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- tap:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/homeport/build-load/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: GoReleaser Bot
email: [email protected]
folder: HomebrewFormula
homepage: "https://github.com/homeport/build-load"
description: "build-load - command line tool to create synthetic load for https://github.com/shipwright-io/build"
license: "MIT"
skip_upload: false
test: |
system "#{bin}/build-load version"