From b7b43406e8a3e7fa15a846b0f11aac0ed80a7930 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 28 Mar 2018 14:17:27 -0400 Subject: [PATCH] repo url variable --- ci-dist-source.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci-dist-source.ps1 b/ci-dist-source.ps1 index d0e34fecf4..1379d89249 100644 --- a/ci-dist-source.ps1 +++ b/ci-dist-source.ps1 @@ -1,8 +1,9 @@ $distDir = $env:APPVEYOR_BUILD_FOLDER + "\dist\" $distSrcDir = $distDir + "Source\" -git clone https://github.com/ + $env:APPVEYOR_REPO_NAME + ".git" $distSrcDir +$repoUrl = "https://github.com/" + $env:APPVEYOR_REPO_NAME + ".git" +git clone -q --branch=master $repoUrl $distSrcDir cd $distSrcDir -git checkout $env:APPVEYOR_REPO_COMMIT +git checkout -qf $env:APPVEYOR_REPO_COMMIT git submodule update --init --recursive cd $distSrcDir 7z a browser-source-$env:APPVEYOR_BUILD_NUMBER.zip $distSrcDir