Browse Source

Travis: Fix Windows build from PRs

3.2.x
Johann Bauer 7 years ago
parent
commit
4a65db54c9
  1. 2
      contrib/build-wine/build-electrum-git.sh

2
contrib/build-wine/build-electrum-git.sh

@ -31,7 +31,7 @@ if [ ! -z "$1" ]; then
if ! git cat-file -e "$1" 2> /dev/null
then # can't find target
# try pull requests
git config --local --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
git config --local --add remote.origin.fetch '+refs/pull/*/merge:refs/remotes/origin/pr/*'
git fetch --all
fi
git checkout $1

Loading…
Cancel
Save