VERSION := $(shell git describe --tags --exact-match) ci: publish qa: go get gopkg.in/alecthomas/gometalinter.v1 gometalinter.v1 --vendored-linters --install gometalinter.v1 \ -D gotype -D errcheck -D gas -D gocyclo \ --sort path --sort line --deadline 1m --cyclo-over 15 \ . ifneq ($(strip $(VERSION)),) publish: VERSION=$(VERSION) sh -e publish.sh else publish: true endif