This commit is contained in:
Genteure 2018-11-09 11:07:26 +08:00
parent b6e50561af
commit bde55c866f

View File

@ -12,7 +12,7 @@ if ($env:APPVEYOR -and (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) -and $env:CONFIG
$env:DEPLOY_SITE_GIT="C:\projects\site"
git clone --quiet --depth 1 "https://github.com/Bililive/soft.danmuji.org.git" $env:DEPLOY_SITE_GIT
$env:DEPLOY_SITE_BRANCH="rec$env:APPVEYOR_BUILD_VERSION"
git checkout --quiet -b $env:DEPLOY_SITE_BRANCH
git --git-dir="$env:DEPLOY_SITE_GIT\.git\" --work-tree="$env:DEPLOY_SITE_GIT" checkout --quiet -b $env:DEPLOY_SITE_BRANCH
}
Write-Host "Current build version is $env:APPVEYOR_BUILD_VERSION"