adds allways to ensure there is a version even if no tag
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
parent
3d382e2f5d
commit
d371d403b4
@ -1,3 +1,6 @@
|
|||||||
|
git:
|
||||||
|
depth: 150
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
2
Makefile
2
Makefile
@ -22,7 +22,7 @@ BUILD_DIR := _output
|
|||||||
# VERSION is derived from the current tag for HEAD plus amends. Version is used
|
# 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
|
# to set/overide the CRIContainerdVersion variable in the verison package for
|
||||||
# cri-containerd.
|
# 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`
|
# strip the first char of the tag if it's a `v`
|
||||||
VERSION := $(VERSION:v%=%)
|
VERSION := $(VERSION:v%=%)
|
||||||
TARBALL_PREFIX := cri-containerd
|
TARBALL_PREFIX := cri-containerd
|
||||||
|
Loading…
Reference in New Issue
Block a user