Skip to content

Commit

Permalink
Merge pull request #38 from tj/add-go-releaser
Browse files Browse the repository at this point in the history
Add go releaser
  • Loading branch information
zph authored Oct 1, 2019
2 parents c195152 + d1c044d commit 98ab244
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod download
builds:
- id: "mmake"
main: ./cmd/mmake/mmake.go

brews:
-
name: mmake
github:
owner: tj
name: mmake

url_template: "https://github.com/tj/mmake/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

commit_author:
name: goreleaserbot
email: [email protected]

folder: Formula
homepage: "https://github.com/tj/mmake"
description: "Go wrapper for mmake, a make wrapper"
skip_upload: false
test: |
system "#{bin}/mmake help"
install: |
bin.install "mmake"
archives:
- replacements:
darwin: darwin
linux: linux
windows: windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 98ab244

Please sign in to comment.