mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
9 lines
630 B
PowerShell
9 lines
630 B
PowerShell
if (-not (Test-Path env:APPVEYOR)) {
|
|
Throw New-Object System.NotSupportedException "Not Running on Appveyor!"
|
|
}
|
|
git clone --quiet --depth 1 https://github.com/Bililive/soft.danmuji.org.git C:\projects\site
|
|
Get-ChildItem -Path .\BililiveRecorder.WPF\bin\Release\app.publish | Copy-Item -Destination C:\projects\site\BililiveRecorder -Recurse -Container
|
|
git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ add -A
|
|
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
|