chore(release): add script to automate most release steps

Usage: php .scripts/release.php ${version}

Closes #6783