1
1
mirror of https://github.com/primer/css.git synced 2024-12-19 20:21:38 +03:00
css/script/after_success
2017-07-31 13:52:43 -07:00

11 lines
209 B
Bash
Executable File

#!/bin/bash
set -e
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