Skip to content

Commit

Permalink
Add release task
Browse files Browse the repository at this point in the history
  • Loading branch information
dim committed Oct 2, 2019
1 parent 0680fdd commit a34cc5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
GITHUB_TOKEN:=$(shell sed ':a;N;$!ba;s/\n/ /g' ~/.netrc | grep -Po 'machine *github.com *login *\w+' | grep -Po '\w+$$')

default: test

test:
go test ./...

.PHONY: default test

release:
GITHUB_TOKEN=$(GITHUB_TOKEN) goreleaser --rm-dist

# proto ---------------------------------------------------------------

proto: rpc.go
Expand Down

0 comments on commit a34cc5a

Please sign in to comment.