2018-03-25 10:25:04 +08:00
|
|
|
if (-not (Test-Path env:APPVEYOR)) {
|
|
|
|
Throw New-Object System.NotSupportedException "Not Running on Appveyor!"
|
|
|
|
}
|
2018-03-25 12:01:01 +08:00
|
|
|
git clone --quiet --depth 1 https://github.com/Bililive/soft.danmuji.org.git C:\projects\site
|
2018-03-25 10:18:54 +08:00
|
|
|
Get-ChildItem -Path .\BililiveRecorder.WPF\bin\Release\app.publish | Copy-Item -Destination C:\projects\site\BililiveRecorder -Recurse -Container
|
2018-03-25 12:01:01 +08:00
|
|
|
git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ add -A
|
2018-03-25 11:50:36 +08:00
|
|
|
git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ commit --quiet -m "BililiveRecorder $env:p_version"
|
|
|
|
git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ push --quiet
|