Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 3fae808

Browse files
scevalloscodyoss
authored andcommittedNov 20, 2019
include binaries with tagged releases via GoReleaser (#229)
Fixes: #147
1 parent 0b73a1d commit 3fae808

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
 

‎.goreleaser.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Release automation via GoReleaser (goreleaser.com)
2+
# Requires a valid GITHUB_TOKEN envar prior to running `goreleaser`
3+
# See https://goreleaser.com/environment/ for more info
4+
---
5+
release:
6+
github:
7+
owner: golang
8+
name: mock
9+
10+
builds:
11+
- binary: mockgen
12+
goos:
13+
- darwin
14+
- windows
15+
- linux
16+
goarch:
17+
- amd64
18+
- 386
19+
env:
20+
- CGO_ENABLED=0
21+
- GO111MODULE=on
22+
- GOPROXY=https://proxy.golang.org
23+
- GOSUMDB=sum.golang.org
24+
main: ./mockgen/
25+
archive:
26+
format: tar.gz
27+
wrap_in_directory: true
28+
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
29+
files:
30+
- LICENSE
31+
- README.md
32+
checksum:
33+
name_template: '{{ .Binary }}-{{ .Version }}-checksums.txt'
34+
snapshot:
35+
name_template: "snap-{{ .Commit }}"
36+
changelog:
37+
sort: asc
38+
filters:
39+
exclude:
40+
- '^docs:'
41+
- '^test:'
42+
- 'README'

0 commit comments

Comments
 (0)
This repository has been archived.