From d5a3b69b538e696c627c801eeaeda51cc83294d5 Mon Sep 17 00:00:00 2001 From: Chris Swan <478926+cpswan@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:59:02 +0100 Subject: [PATCH] fix: Stray space in cut gives wrong version --- .github/workflows/autobuildall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autobuildall.yml b/.github/workflows/autobuildall.yml index 2b6bac2..66e62c6 100644 --- a/.github/workflows/autobuildall.yml +++ b/.github/workflows/autobuildall.yml @@ -31,7 +31,7 @@ jobs: fi fi DART_VERSION=$(cat DART_STABLE_VERSION) - BETA_VERSION=$(echo $DART_VERSION | rev | cut -d"." -f2 - | rev)".0" + BETA_VERSION=$(echo $DART_VERSION | rev | cut -d"." -f2- | rev)".0" echo "dartversion=${DART_VERSION}" >> $GITHUB_OUTPUT echo "betaversion=${BETA_VERSION}" >> $GITHUB_OUTPUT