From 3ea6aed867a5d84d000c0906bc8a527422b796d8 Mon Sep 17 00:00:00 2001 From: Lucas Cava Date: Mon, 15 Jul 2024 01:07:41 -0300 Subject: [PATCH] update tag --- .github/workflows/ci-cd-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd-pipeline.yml b/.github/workflows/ci-cd-pipeline.yml index f319dc8..553eb8b 100644 --- a/.github/workflows/ci-cd-pipeline.yml +++ b/.github/workflows/ci-cd-pipeline.yml @@ -100,7 +100,7 @@ jobs: - name: Calculate next tag id: tagger run: | - TAG=$(git describe --tags `git rev-list --tags --max-count=1`) + TAG=$(git describe --abbrev=0 --tags) LATEST_TAG=$TAG if [[ "$LATEST_TAG" =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then major="${BASH_REMATCH[1]}"