Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #65 from mikebrow/support-v-tags
Browse files Browse the repository at this point in the history
adds support for v prefix in release tags
  • Loading branch information
Random-Liu authored Jun 22, 2017
2 parents 6de96a5 + 2f8584d commit f33514a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ 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)
# strip the first char of the tag if it's a `v`
VERSION := $(VERSION:v%=%)
BUILD_TAGS:= -ldflags '-X $(PROJECT)/pkg/version.criContainerdVersion=$(VERSION)'

all: binaries
Expand Down

0 comments on commit f33514a

Please sign in to comment.