Skip to content

Commit

Permalink
feat(monorepo): release on npm on release branches in travis
Browse files Browse the repository at this point in the history
release on npm on release branches in travis
  • Loading branch information
theiliad committed Aug 30, 2018
1 parent ef3d5f7 commit 2e79450
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ if [[ $TRAVIS_BRANCH == 'master' ]]; then
npm run build-storybook
cp -a storybook-dist/. ../../../pages/angular
fi

if [[ echo $TRAVIS_BRANCH | grep "^v[0-9]\+\.[0-9]\+\.[0-9]\+\$" ]]; then
lerna publish from-git
fi

0 comments on commit 2e79450

Please sign in to comment.