Skip to content

Commit f91767b

Browse files
committed
Simplify versioning.
1 parent 1849fcc commit f91767b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
VERSION = 0.2
2+
13
default: fmt build test
24

35
fmt:
@@ -32,4 +34,4 @@ test: fmt
3234
go test -v github.com/DimensionDataResearch/docker-machine-driver-ddcloud/...
3335

3436
version:
35-
echo "package main\n\n// DriverVersion is the current version of the CloudControl driver for Docker Machine.\nconst DriverVersion = \"v0.2 (`git rev-parse HEAD`)\"" > ./version-info.go
37+
echo "package main\n\n// DriverVersion is the current version of the CloudControl driver for Docker Machine.\nconst DriverVersion = \"v${VERSION} (`git rev-parse HEAD`)\"" > ./version-info.go

0 commit comments

Comments
 (0)