Skip to content

Commit

Permalink
goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispruitt committed Sep 6, 2021
1 parent 003f372 commit eee4ca9
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
51 changes: 51 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: gokick

builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
binary: gokick

archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip

checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ .Tag }}"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

release:
disable: false

brews:
-
tap:
owner: chrispruitt
name: homebrew-tap
download_strategy: CurlDownloadStrategy
commit_author:
name: goreleaserbot
email: [email protected]
homepage: "https://github.com/hackit-nashville/gokick"
license: "Mozilla Public License Version 2.0"
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ bindata:
test:
rm -rf ../go-test
go run main.go cli --directory .. --name go-test

release:
goreleaser release --rm-dist

0 comments on commit eee4ca9

Please sign in to comment.