mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-11 16:29:02 +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
|
||||
PR_ID=$APPVEYOR_PULL_REQUEST_NUMBER
|
||||
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
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user