Update release-deploy.js

Bug fixes