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 21, 2018
1 parent dff56ff commit 9f73fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ install: FORCE
dist: dist/${MODULE}-$(VERSION).tar.gz

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

## clean : clean up all temporary / machine-generated files
clean: FORCE
Expand Down
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 9f73fca

Please sign in to comment.