#!/usr/bin/env bash

# The below tells bash to stop the script if any of the commands fail
set -ex

npm login
node ./scripts/npm-access.js
lerna publish
git checkout master
git merge develop
git push origin master
git checkout develop
git pull origin master
npm un -g truffle
npm i -g truffle
echo -e "\\n\\nWoo!"

#!/usr/bin/env bash

# The below tells bash to stop the script if any of the commands fail
set -ex

npm login
node ./scripts/npm-access.js
lerna publish -- --access=public
git checkout master
git merge develop
git push origin master
git checkout develop
git pull origin master
npm un -g truffle
npm i -g truffle
echo -e "\\n\\nWoo!"

Update release script to specify --access=public
Update release script to specify --access=public
