Skip to content

Commit

Permalink
Merge pull request #63 from linkernetworks/johnlin/git-tag
Browse files Browse the repository at this point in the history
add git tag target
  • Loading branch information
John-Lin authored Jul 24, 2018
2 parents 32f5f34 + b82592f commit 2e60a1a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Makefile templete reference
# https://gist.github.com/turtlemonvh/38bd3d73e61769767c35931d8c70ccb4

## network controller version
NETWORKCONTROLLER_VERSION = v0.3.0

BINARY = network-controller
VET_REPORT = vet.report

Expand Down Expand Up @@ -57,4 +61,9 @@ test: pb client server
go clean -testcache
sudo -E env PATH=$$PATH TEST_VETH=1 $(TEST_OVS) $(TEST_DOCKER) go test -parallel=1 -v ./...

.PHONY: server client vet test clean
push.tag:
@echo "Current git tag version:"$(NETWORKCONTROLLER_VERSION)
git tag $(NETWORKCONTROLLER_VERSION)
git push --tags

.PHONY: server client vet test clean push.tag

0 comments on commit 2e60a1a

Please sign in to comment.