From dbf35f0ef8c26fcdc33d5e0b1ec9056abcdf8675 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Fri, 16 Feb 2024 12:17:00 +0100 Subject: [PATCH] fix go version number --- .github/workflows/updater.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 6dcd9cf..ce37614 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -20,8 +20,8 @@ go_arch=($(curl --silent "$go_url" | jq -r '.[] | select(.version=="'$go_version # Setting up the environment variables echo "Current version: $current_version" -echo "Latest release from upstream: $go_version" -echo "VERSION=$go_version" >> $GITHUB_ENV +echo "Latest release from upstream: ${go_version#go}" +echo "VERSION=${go_version#go}" >> $GITHUB_ENV # For the time being, let's assume the script will fail echo "PROCEED=false" >> $GITHUB_ENV