npmPublish.sh 172 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 #!/usr/bin/env bash cd $(dirname $0)/.. set -e echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc chmod 0600 .npmrc echo "Publishing..." npm publish --tag $1