Put versions in the script and weavedns too, and report them

sudo weave version
This commit is contained in:
Michael Bridgen committed 2014-12-24 11:04:52 +00:00
1 parent 0348767d73
commit b014d98c78
3 files changed
+31 -9

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ build() {
## (library versions?)
sed -i "/var version = / c\var version = \"$VERSION\"" weaver/main.go
sed -i "/var version = / c\var version = \"$VERSION\"" weavedns/main.go
sed -i "/SCRIPT_VERSION=/ c\SCRIPT_VERSION=\"$VERSION\"" ./weave
make \
WEAVER_IMAGE=$DOCKERHUB_USER/weave \
WEAVEDNS_IMAGE=$DOCKERHUB_USER/weavedns