switch back to var version
diff --git a/Makefile b/Makefile index e7440a4..946edfe 100644 --- a/Makefile +++ b/Makefile
@@ -1,7 +1,7 @@ GLIDE_GO_EXECUTABLE ?= go DIST_DIRS := find * -type d -exec VERSION := $(shell git describe --tags) -VERSION_INCODE = $(shell perl -ne '/^const version.*"([^"]+)".*$$/ && print "v$$1\n"' glide.go) +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) build:
diff --git a/glide.go b/glide.go index b0eac41..5f9c14f 100644 --- a/glide.go +++ b/glide.go
@@ -34,7 +34,7 @@ "os" ) -const version = "0.13.0-dev" +var version = "0.13.0-dev" const usage = `Vendor Package Management for your Go projects.