ylemkimon Improve & fix release script (#1660)
* Fix package.json version number when updating SRI

* Replace master branch check with release branch check

* Allow specifying other origin name

* Remove redundant quotes and braces, replace -z with !

* Add fallback to npm publish, if yarn cannot authenticate, e.g., 2FA

* If gh-pages branch is protected, push to another branch

* Do not run npm commands in dry-run
Latest commit 5b30208 Aug 28, 2018