1
1
mirror of https://github.com/primer/css.git synced 2024-11-10 16:07:25 +03:00

fix errant warning in RC builds

This commit is contained in:
Shawn Allen 2017-07-20 17:49:27 -07:00
parent 2e811f47e8
commit 03f4a9f3bd

View File

@ -28,10 +28,11 @@ if [[ "$branch" =~ ^release- ]]; then
script/notify pending script/notify pending
script/release-candidate $args script/release-candidate $args
script/notify success script/notify success
else
echo "⚠️ This appears to be a release branch, but we only publish *push* builds."
echo "(TRAVIS_EVENT_TYPE: $event)"
exit 1
fi fi
echo "⚠️ This appears to be a release branch, but we only publish *push* builds."
echo "(TRAVIS_EVENT_TYPE: $event)"
exit 1
# always publish a pr release if this is a PR build # always publish a pr release if this is a PR build
elif [[ "$event" = "pull_request" ]]; then elif [[ "$event" = "pull_request" ]]; then
script/notify pending script/notify pending