1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Fix version command to parse helm chart tags

This commit is contained in:
Mike Dame
2022-05-31 17:29:25 +00:00
parent 5a9e65833f
commit af45591c25
2 changed files with 12 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
.PHONY: test
# VERSION is based on a date stamp plus the last commit
VERSION?=v$(shell date +%Y%m%d)-$(shell git describe --tags --match "v*")
VERSION?=v$(shell date +%Y%m%d)-$(shell git describe --tags)
BRANCH?=$(shell git branch --show-current)
SHA1?=$(shell git rev-parse HEAD)
BUILD=$(shell date +%FT%T%z)