Skip to content

Commit

Permalink
travis: Upgrade travis deployment script (#575)
Browse files Browse the repository at this point in the history
Closes #574

Signed-off-by: arekkas <aeneas@ory.am>
  • Loading branch information
aeneasr committed Aug 25, 2018
1 parent 5fa283e commit 2bc628c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion travis-deploy.sh
Expand Up @@ -4,5 +4,6 @@ set -euo pipefail

npm run build:lib
cat ./packages/meta/package.json | sed s/0.0.0/$(git describe --tag)/g > ./packages/meta/package.json
git checkout -b release-$(git describe --tag)
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
lerna publish --skip-git --repo-version=$(git describe --tag) --yes --force-publish=*
lerna publish --no-git-tag-version --no-push --yes --force-publish=* $(git describe --tag)

0 comments on commit 2bc628c

Please sign in to comment.