1
1
mirror of https://github.com/primer/css.git synced 2024-11-13 08:04:16 +03:00
css/script/after_success

11 lines
209 B
Bash

#!/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