mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
reversed PR validation logic
This commit is contained in:
parent
08634d208a
commit
337e945f60
1 changed files with 3 additions and 3 deletions
|
|
@ -9,10 +9,10 @@ git_setup() {
|
|||
}
|
||||
|
||||
detect_branch() {
|
||||
if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
|
||||
echo $TRAVIS_PULL_REQUEST_BRANCH
|
||||
else
|
||||
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||
echo $TRAVIS_BRANCH
|
||||
else
|
||||
echo $TRAVIS_PULL_REQUEST_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue