Skip to content

Commit

Permalink
add .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jan 25, 2018
1 parent f1a610f commit 1ca9b5b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
builds:
-
main: cmd/static-docs/main.go
binary: static-docs
goos:
- darwin
- linux
- windows
- freebsd
- netbsd
- openbsd
goarch:
- amd64
- 386
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^refactor'
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ clean:
@echo "==> Clean"
@rm -fr build
.PHONY: clean

# Release binaries to GitHub.
release: build
@echo "==> Releasing"
@goreleaser -p 1 --rm-dist -config .goreleaser.yml
@echo "==> Complete"
.PHONY: release

0 comments on commit 1ca9b5b

Please sign in to comment.