Build: Update release script for new jquery-release API

Closes gh-7257

(cherry picked from commit 6e9db490999ce76dbed7cc6358aa866b5249fd94)