Skip to content

Commit

Permalink
setup releases
Browse files Browse the repository at this point in the history
  • Loading branch information
louism517 committed Jan 26, 2018
1 parent 3fb4bd4 commit 6acba83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TEST?=$$(go list ./... |grep -v 'vendor'|grep -v 'examples')
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
VERSION=$$(cat version)

default: test

Expand All @@ -25,3 +26,9 @@ test: fmtcheck
go test -i $(TEST) || exit 1
echo $(TEST) | \
xargs -t -n4 go test -v $(TESTARGS) -timeout=30s -parallel=4
.PHONY: test

release:
git tag -a $(VERSION) -m "Release version $(VERSION)"
git push --tags
.PHONY: release
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.12

0 comments on commit 6acba83

Please sign in to comment.