From 7007d1a89fca7387b3f9b07ca53a9bcc15c2aa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A5rek=20Andreassen?= Date: Thu, 3 Oct 2024 19:59:28 +0200 Subject: [PATCH] ci: Check for correct tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim HĂ„rek Andreassen --- .build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index b333392..85fa134 100644 --- a/.build.yml +++ b/.build.yml @@ -15,7 +15,7 @@ tasks: - test: | just test - build: | - tag=$(git describe --exact-match 2>/dev/null || true) + tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true) if [ -z "$tag" ]; then echo "Current commit is not a tag; not building anything" exit 0