From 37889e565941b3c4343a566785507c8b4066ea38 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Thu, 31 Oct 2024 12:54:29 -0400 Subject: [PATCH] ci: git-version-action: Always report described version --- .github/actions/get-version/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/actions/get-version/action.yml b/.github/actions/get-version/action.yml index e6361bfcd..940f1290a 100644 --- a/.github/actions/get-version/action.yml +++ b/.github/actions/get-version/action.yml @@ -6,9 +6,5 @@ runs: steps: - run: | - if [[ "$GITHUB_REF" == *"tags/v"* ]]; then - echo "DESKFLOW_VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV - else - echo "DESKFLOW_VERSION=$(git describe --long | sed 's/-/./g;s/v//g' | grep -o '^[0-9]*.[0-9]*.[0-9]*.[0-9]*')">> $GITHUB_ENV - fi + echo "DESKFLOW_VERSION=$(git describe --long | sed 's/-/./g;s/v//g' | grep -o '^[0-9]*.[0-9]*.[0-9]*.[0-9]*')">> $GITHUB_ENV shell: bash