🌚🌝🌚🌝🌚

This commit is contained in:
Genteure 2018-03-25 12:01:01 +08:00
parent dca1e5abdb
commit 3a8070647d
2 changed files with 12 additions and 2 deletions

View File

@ -1,8 +1,8 @@
if (-not (Test-Path env:APPVEYOR)) { if (-not (Test-Path env:APPVEYOR)) {
Throw New-Object System.NotSupportedException "Not Running on Appveyor!" Throw New-Object System.NotSupportedException "Not Running on Appveyor!"
} }
git clone --depth 1 https://github.com/Bililive/soft.danmuji.org.git C:\projects\site 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 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 --quiet -A 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\ commit --quiet -m "BililiveRecorder $env:p_version"
git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ push --quiet git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ push --quiet

10
Note.md
View File

@ -51,3 +51,13 @@
- 执行 publish - 执行 publish
- 复制生成结果 git push 到 soft.danmuji.org - 复制生成结果 git push 到 soft.danmuji.org
- master 分支手动维护,保持在最后一个 tag 上 - master 分支手动维护,保持在最后一个 tag 上
## 发布新版本的方法
- 在 dev 分支上
- git add ...
- git commit -m "New Version: v1.0.0"
- git tag v1.0.0
- git push origin
- git push origin v1.0.0
- 在 Github 上开 Pull Request 合并 dev 进 master