From b5588953a5d7de3a92b649c1311704170f50e51a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Thu, 21 Mar 2024 19:02:25 +0200
Subject: [PATCH] build: fix use_version typo in get-version.sh

fixes a1167924 "build: use get-version.sh and VERSION to determine version"
---
 get-version.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/get-version.sh b/get-version.sh
index 0d03a821..f85e7e13 100755
--- a/get-version.sh
+++ b/get-version.sh
@@ -19,4 +19,5 @@ try_version "${CI_COMMIT_TAG}"
 # gets completed and merged upstream.
 [ "$CI_COMMIT_REF_NAME" ] && try_version "$(cat VERSION)"
 [ -d .git ] && try_version "$(git describe)"
-use_version "$(cat VERSION)"
+try_version "$(cat VERSION)"
+exit 1
-- 
GitLab