Skip to content

Commit 98ab244

Browse files
authored
Merge pull request #38 from tj/add-go-releaser
Add go releaser
2 parents c195152 + d1c044d commit 98ab244

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.goreleaser.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
- go mod download
6+
builds:
7+
- id: "mmake"
8+
main: ./cmd/mmake/mmake.go
9+
10+
brews:
11+
-
12+
name: mmake
13+
github:
14+
owner: tj
15+
name: mmake
16+
17+
url_template: "https://github.com/tj/mmake/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
18+
19+
commit_author:
20+
name: goreleaserbot
21+
22+
23+
folder: Formula
24+
homepage: "https://github.com/tj/mmake"
25+
description: "Go wrapper for mmake, a make wrapper"
26+
skip_upload: false
27+
test: |
28+
system "#{bin}/mmake help"
29+
install: |
30+
bin.install "mmake"
31+
32+
archives:
33+
- replacements:
34+
darwin: darwin
35+
linux: linux
36+
windows: windows
37+
386: i386
38+
amd64: x86_64
39+
checksum:
40+
name_template: 'checksums.txt'
41+
snapshot:
42+
name_template: "{{ .Tag }}-next"
43+
changelog:
44+
sort: asc
45+
filters:
46+
exclude:
47+
- '^docs:'
48+
- '^test:'

0 commit comments

Comments
 (0)