diff --git a/.github/actions/update-vscode-extensions/update-vscode-extensions.sh b/.github/actions/update-vscode-extensions/update-vscode-extensions.sh index 5b450731..ef2c179d 100755 --- a/.github/actions/update-vscode-extensions/update-vscode-extensions.sh +++ b/.github/actions/update-vscode-extensions/update-vscode-extensions.sh @@ -16,7 +16,10 @@ for EXTENSION in $(echo $JSON | jq -r '.[].customizations.vscode.extensions | fl if [[ $CURRENT_VERSION != $LATEST_NON_PRERELEASE_VERSION ]]; then - UPDATE_DETAILS=$(printf "Updates \`%s\` from %s to %s\n\n%s" $NAME $CURRENT_VERSION $LATEST_NON_PRERELEASE_VERSION "$UPDATE_DETAILS") + GITHUB_URL=$(echo $LATEST_NON_PRERELEASE_VERSION_JSON | jq -r '.properties | map(select(.key == "Microsoft.VisualStudio.Services.Links.GitHub"))[] | .value') + + RELEASE_DETAILS=$(gh release view --json body -R $GITHUB_URL | jq -r '.body') + UPDATE_DETAILS=$(printf "Updates \`%s\` from %s to %s\n
Release notes%s
\n\n%s" $NAME $CURRENT_VERSION $LATEST_NON_PRERELEASE_VERSION "$RELEASE_DETAILS" "$UPDATE_DETAILS") fi EXTENSIONS="\"$NAME@$LATEST_NON_PRERELEASE_VERSION\",$EXTENSIONS"