Build: Update release script for new jquery-release API

Closes gh-1544
(cherry picked from commit 5265cdac3d84b7bb4f8013ef10adaa5a9968fb1c)