1
1
mirror of https://github.com/primer/css.git synced 2024-12-24 06:32:00 +03:00
css/script/after_success

11 lines
209 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
2017-07-28 23:55:13 +03:00
branch=$TRAVIS_BRANCH
event=$TRAVIS_EVENT_TYPE
# only publish canary releases on PRs against dev
if [[ "$event" = "pull_request" && "$branch" = "dev" ]]; then
script/release-pr --yes
fi