Skip to content

Commit

Permalink
use TRAVIS_PULL_REQUEST_SHA if present
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Feb 20, 2018
1 parent dff56ff commit 98628c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pipver=7.0.2 # minimum required version of pip

rm -Rf testenv? || /bin/true

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

if [ "${RELEASE_SKIP}" != "head" ]
then
Expand Down

0 comments on commit 98628c6

Please sign in to comment.