diff --git a/.github/workflows/scriptTests.yml b/.github/workflows/scriptTests.yml index 16856b439..11e8b6f47 100644 --- a/.github/workflows/scriptTests.yml +++ b/.github/workflows/scriptTests.yml @@ -78,7 +78,7 @@ jobs: - name: "Get latest release" id: latest-release run: | - export LATEST_RELEASE=`curl https://api.github.com/repos/jfrog/jfrog-cli/releases/latest -s --retry 10 | jq .name -r | cut -c 2-` + export LATEST_RELEASE=`curl https://api.github.com/repos/jfrog/jfrog-cli/releases/latest -s --retry 10 | jq .name -r | sed "s/^v//"` echo "LATEST_RELEASE=$LATEST_RELEASE" >> "$GITHUB_OUTPUT" shell: bash