Skip to content

Commit

Permalink
chore(ci): different attempt to publish on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Mar 3, 2020
1 parent ec3ee66 commit 019eaa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ before_deploy:
- node utils/apply_next_version.js

deploy:
skip_cleanup: true
provider: script
script: utils/publish_all_packages.sh --tip-of-tree
on:
Expand Down
3 changes: 1 addition & 2 deletions utils/publish_all_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ elif [[ $1 == "--tip-of-tree" ]]; then
echo "Did not find \$CI env - cannot publish tip-of-tree release not from CI"
exit 1
fi
# We don't do `npm run clean` here since travis deploy will remove node
# modules, and our `npm run clean` relies on `rimraf` to be installed.
npm run clean
npm publish . --tag="next"
npm publish packages/playwright-firefox --tag="next"
npm publish packages/playwright-webkit --tag="next"
Expand Down

0 comments on commit 019eaa4

Please sign in to comment.