From 6c6518943f6dfbe1b909b77d132ac9c1e025b115 Mon Sep 17 00:00:00 2001 From: David Zhu Date: Wed, 27 Jun 2018 13:06:38 -0700 Subject: [PATCH] Lock travis.ci go version to 1.10.3 and add soft tag to revision --- .travis.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d19dd2bbd..e47fcc9976 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ services: - docker matrix: include: - - go: 1.x + - go: 1.10.3 install: - go get -u github.com/golang/dep/cmd/dep - dep ensure -vendor-only diff --git a/Makefile b/Makefile index 2b667fbd5a..0f8eed0999 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ IMAGE_NAME=csi-provisioner IMAGE_VERSION=canary IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(IMAGE_VERSION) -REV=$(shell git describe --long --match='v*' --dirty) +REV=$(shell git describe --long --tags --match='v*' --dirty) ifdef V TESTARGS = -v -args -alsologtostderr -v 5