From b7f66a373d69850ba5446b3d38d5ebfe9d8dd298 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 27 Nov 2019 23:52:11 +0000 Subject: [PATCH] Try to get rest of branches --- contrib/msi/build-msi.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/msi/build-msi.sh b/contrib/msi/build-msi.sh index 285c07f3..ada543cc 100644 --- a/contrib/msi/build-msi.sh +++ b/contrib/msi/build-msi.sh @@ -8,6 +8,13 @@ then exit 1 fi +# Get the rest of the repository history +if [ "${APPVEYOR_REPO_BRANCH}" != "" ]; +then + git fetch --all + git checkout ${APPVEYOR_REPO_BRANCH} +fi + # Install prerequisites pacman -S --needed --noconfirm unzip git curl # export PATH=$PATH:/c/go/bin/ @@ -50,7 +57,6 @@ EOF PKGNAME=$(sh contrib/semver/name.sh) PKGVERSION=$(sh contrib/semver/version.sh --bare) PKGVERSIONMS=$(echo $PKGVERSION | tr - .) -PKGARCH=${PKGARCH-x64} [ "${PKGARCH}" == "x64" ] && \ PKGGUID="77757838-1a23-40a5-a720-c3b43e0260cc" PKGINSTFOLDER="ProgramFiles64Folder" || \ PKGGUID="54a3294e-a441-4322-aefb-3bb40dd022bb" PKGINSTFOLDER="ProgramFilesFolder"