Skip to content

Commit

Permalink
Merge pull request #800 from BlackYoup/master
Browse files Browse the repository at this point in the history
Build: use VERSION if provided or fallback to git tag --describe
  • Loading branch information
mattfarina authored Apr 11, 2017
2 parents 9d65d96 + e906cb5 commit 7212f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GLIDE_GO_EXECUTABLE ?= go
DIST_DIRS := find * -type d -exec
VERSION := $(shell git describe --tags)
VERSION ?= $(shell git describe --tags)
VERSION_INCODE = $(shell perl -ne '/^var version.*"([^"]+)".*$$/ && print "v$$1\n"' glide.go)
VERSION_INCHANGELOG = $(shell perl -ne '/^\# Release (\d+(\.\d+)+) / && print "$$1\n"' CHANGELOG.md | head -n1)

Expand Down

0 comments on commit 7212f9e

Please sign in to comment.