From b33c50342ce4e8701da0477401122b1384e4c82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Wed, 23 Feb 2022 10:21:47 +0100 Subject: [PATCH] make: fix "release-version" description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maƫl Valais --- make/git.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make/git.mk b/make/git.mk index 09f6c6452..3c03bb332 100644 --- a/make/git.mk +++ b/make/git.mk @@ -27,10 +27,10 @@ bin/scratch/git/upstream-tags.txt: | bin/scratch/git grep -v "v1.2.0-alpha.1" > $@ # The file "release-version" gets updated whenever git describe --tags changes. This is -# used by the bin/containers/*.tar.gz targets to make sure the containers, which use the -# "git describe --tags" string as their tag, get rebuilt whenever you check out a different -# commit. If we didn't do this, the Helm chart bin/cert-manager-*.tgz would refer to an -# image tag that doesn't exist in bin/containers/*.tar.gz. +# used by the bin/containers/*.tar.gz targets to make sure that the containers, which use +# the output of "git describe --tags" as their tag, get rebuilt whenever you check out a +# different commit. If we didn't do this, the Helm chart bin/cert-manager-*.tgz would refer +# to an image tag that doesn't exist in bin/containers/*.tar.gz. bin/release-version: | bin @test "$(RELEASE_VERSION)" == "$$(cat "$@" 2>/dev/null)" || echo $(RELEASE_VERSION) > $@