Skip to content

Commit 98628c6

Browse files
committed
use TRAVIS_PULL_REQUEST_SHA if present
1 parent dff56ff commit 98628c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pipver=7.0.2 # minimum required version of pip
1111

1212
rm -Rf testenv? || /bin/true
1313

14-
export HEAD=`git rev-parse HEAD`
14+
export HEAD=${TRAVIS_PULL_REQUEST_SHA:-$(git rev-parse HEAD)}
1515

1616
if [ "${RELEASE_SKIP}" != "head" ]
1717
then

0 commit comments

Comments
 (0)