Skip to content

Commit 9f73fca

Browse files
committed
use TRAVIS_PULL_REQUEST_SHA if present
1 parent dff56ff commit 9f73fca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ install: FORCE
5656
dist: dist/${MODULE}-$(VERSION).tar.gz
5757

5858
dist/${MODULE}-$(VERSION).tar.gz: $(SOURCES)
59-
./setup.py sdist bdist-wheel
59+
./setup.py sdist bdist_wheel
6060

6161
## clean : clean up all temporary / machine-generated files
6262
clean: FORCE

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)