diff --git a/.github/workflows/plugin-release.yaml b/.github/workflows/plugin-release.yaml index 18ee49d..2372925 100644 --- a/.github/workflows/plugin-release.yaml +++ b/.github/workflows/plugin-release.yaml @@ -354,8 +354,7 @@ jobs: --title "release: v${VERSION}" \ --body "$BODY" \ --base main \ - --head "release/v${VERSION}" \ - --json number --jq '.number' + --head "release/v${VERSION}" # Pull the number again to handle both create and pre-existing cases OPEN_PR=$(gh pr list --base main --head "release/v${VERSION}" --state open --json number --jq '.[0].number' 2>/dev/null) else