ci: fix winget & stale workflows [skip ci]

This commit is contained in:
Baptiste Augrain
2022-10-07 21:24:10 +02:00
parent bba3e74815
commit ce4af41a4a
4 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
RELEASE_VERSION="${RELEASE_VERSION/\-insider/}"
fi
WINGET_VERSION=$( echo "${VERSIONS}" | jq -r 'map(.name) | last' )
WINGET_VERSION=$( echo "${VERSIONS}" | jq -r 'map(select(.name | startswith("1."))) | map(.name) | last' )
echo "RELEASE_VERSION=\"${RELEASE_VERSION}\""
echo "WINGET_VERSION=\"${WINGET_VERSION}\""