Merge pull request #637 from mikebrow/missing-tag

adds allways to ensure there is a version even if no tag
This commit is contained in:
Lantao Liu 2018-03-02 16:16:03 -08:00 committed by GitHub
commit ba6503870f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
git:
depth: 150
language: go
sudo: required

View File

@ -22,7 +22,7 @@ BUILD_DIR := _output
# VERSION is derived from the current tag for HEAD plus amends. Version is used
# to set/overide the CRIContainerdVersion variable in the verison package for
# cri-containerd.
VERSION := $(shell git describe --tags --dirty)
VERSION := $(shell git describe --tags --dirty --always)
# strip the first char of the tag if it's a `v`
VERSION := $(VERSION:v%=%)
TARBALL_PREFIX := cri-containerd