Skip to content

Commit

Permalink
release: Run npm publish from the @jkcfg/std directory
Browse files Browse the repository at this point in the history
It seems like we need the .npmrc file to be in the cwd for npm publish to work.
  • Loading branch information
dlespiau committed May 16, 2019
1 parent a96e93c commit ab9b6ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions run-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,4 @@ if [ -z "$NPM_TOKEN" ]; then
exit 1
fi
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > @jkcfg/std/.npmrc
run npm adduser
run npm whoami
run npm publish @jkcfg/std
docker_run bash -c '$(cd @jkcfg/std && npm publish)'

0 comments on commit ab9b6ad

Please sign in to comment.