From bf910d18672838290f5de27c6fd61bd749552047 Mon Sep 17 00:00:00 2001 From: Jan Wennrich <jan.wennrich@pcsg.de> Date: Fri, 24 May 2024 13:39:58 +0000 Subject: [PATCH] feat!: another major-release --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39988e2..18e61c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ release: image: toolhippie/semantic-release:${SEMANTIC_RELEASE_VERSION} script: - git config --global --add safe.directory $CI_PROJECT_DIR - - CURRENT_VERSION=$(git describe --abbrev=0 --tags | cut -c1 || echo "0.0.0") + - CURRENT_VERSION=$(git describe --abbrev=0 --tags || echo "0.0.0") - echo $CURRENT_VERSION - CURRENT_MAJOR_VERSION=$(echo ${CURRENT_VERSION} | cut -c1) - echo $CURRENT_MAJOR_VERSION -- GitLab