mirror of
https://github.com/primer/css.git
synced 2024-12-24 06:32:00 +03:00
11 lines
209 B
Bash
Executable File
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
|