Unverified Commit dd76985f authored by Jeremy Morrell's avatar Jeremy Morrell Committed by GitHub

Fix branch detection for automated hatchet tests (#565)

parent 8fa34723
...@@ -31,7 +31,7 @@ elif [ -n "$TRAVIS_PULL_REQUEST_BRANCH" ]; then ...@@ -31,7 +31,7 @@ elif [ -n "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
export IS_RUNNING_ON_TRAVIS=true export IS_RUNNING_ON_TRAVIS=true
export HATCHET_BUILDPACK_BRANCH="$TRAVIS_PULL_REQUEST_BRANCH" export HATCHET_BUILDPACK_BRANCH="$TRAVIS_PULL_REQUEST_BRANCH"
else else
export HATCHET_BUILDPACK_BRANCH=$(git name-rev HEAD 2> /dev/null | sed 's#HEAD\ \(.*\)#\1#') export HATCHET_BUILDPACK_BRANCH=$(git name-rev HEAD 2> /dev/null | sed 's#HEAD\ \(.*\)#\1#' | sed 's#tags\/##')
fi fi
gem install bundler gem install bundler
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment