From 3a8070647d33af72bf0d7e70b424bbb6b7eeeb1c Mon Sep 17 00:00:00 2001 From: Genteure Date: Sun, 25 Mar 2018 12:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=9A=F0=9F=8C=9D=F0=9F=8C=9A?= =?UTF-8?q?=F0=9F=8C=9D=F0=9F=8C=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CI/push_clickonce.ps1 | 4 ++-- Note.md | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CI/push_clickonce.ps1 b/CI/push_clickonce.ps1 index e5e5a08..a296d37 100644 --- a/CI/push_clickonce.ps1 +++ b/CI/push_clickonce.ps1 @@ -1,8 +1,8 @@ if (-not (Test-Path env: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 -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\ push --quiet diff --git a/Note.md b/Note.md index 758861b..c02d5ca 100644 --- a/Note.md +++ b/Note.md @@ -51,3 +51,13 @@ - 执行 publish - 复制生成结果 git push 到 soft.danmuji.org - 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