Skip to content

Commit

Permalink
Build: use VERSION if provided or fallback to git tag --describe
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYoup committed Apr 10, 2017
1 parent cf18c82 commit e906cb5
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 e906cb5

Please sign in to comment.