1
1
mirror of https://github.com/primer/css.git synced 2024-11-14 03:54:54 +03:00

Use travis event type

This commit is contained in:
Jon Rohan 2017-07-07 20:04:01 -07:00
parent 4abd9bdc18
commit cf82ee4110

View File

@ -2,7 +2,7 @@
set -e
# always publish a canary release if this is a PR build
if [[ $TRAVIS_PULL_REQUEST && $TRAVIS_PULL_REQUEST != false ]]; then
if [[ $TRAVIS_EVENT_TYPE = pull_request ]]; then
echo "🐦 Publishing canary version..."
echo npm run release-canary
# merges to dev build a release candidate