diff --git a/.github/workflows/autobuildall.yml b/.github/workflows/autobuildall.yml index d4636ee..2b6bac2 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=$(curl -s $DDURL | jq -r .beta.version) + BETA_VERSION=$(echo $DART_VERSION | rev | cut -d"." -f2 - | rev)".0" echo "dartversion=${DART_VERSION}" >> $GITHUB_OUTPUT echo "betaversion=${BETA_VERSION}" >> $GITHUB_OUTPUT