mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 04:59:01 +08:00
fixing PR_ID calculation because travis
This commit is contained in:
parent
d325248baf
commit
25dce5a198
@ -75,7 +75,7 @@ function set_pr_id ()
|
|||||||
if [ ! -z ${APPVEYOR_PULL_REQUEST_NUMBER+x} ]; then
|
if [ ! -z ${APPVEYOR_PULL_REQUEST_NUMBER+x} ]; then
|
||||||
PR_ID=$APPVEYOR_PULL_REQUEST_NUMBER
|
PR_ID=$APPVEYOR_PULL_REQUEST_NUMBER
|
||||||
fi
|
fi
|
||||||
if [ ! -z ${TRAVIS_PULL_REQUEST_BRANCH+x} ]; then
|
if [ ! -z ${TRAVIS_PULL_REQUEST_BRANCH+x} ] && [ "${TRAVIS_PULL_REQUEST_BRANCH}" != "false" ] ; then
|
||||||
PR_ID=$TRAVIS_PULL_REQUEST
|
PR_ID=$TRAVIS_PULL_REQUEST
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user