chore(ci): different attempt to publish on Travis

This commit is contained in:
Andrey Lushnikov 2020-03-02 19:00:47 -08:00
parent ec3ee66043
commit 019eaa4470
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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"