Release: 1.0.8

中文编码问题 + git 分支问题
This commit is contained in:
Genteure 2018-04-14 11:10:37 +08:00
parent ab7a94a4eb
commit 69cf5ed5ce
3 changed files with 7 additions and 6 deletions

View File

@ -10,6 +10,7 @@ $commit_message_version_regex="^Release: (\d+\.\d+\.\d+)$"
if ($env:APPVEYOR_REPO_BRANCH -eq "dev" -and $env:APPVEYOR_REPO_COMMIT_MESSAGE -cmatch $commit_message_version_regex)
{
git checkout dev
$env:BILILIVERECORDER_RELEASE=$true
$env:p_version="$($Matches[1]).0"
Update-AppveyorBuild -Version "$env:p_version"

View File

@ -1,10 +1,10 @@
if ($env:APPVEYOR) {
Rename-Item .\BililiveRecorder.WPF\bin\Release\app.publish\setup.exe B站录播姬安装.exe
if ($env:APPVEYOR)
{
Rename-Item .\BililiveRecorder.WPF\bin\Release\app.publish\setup.exe Bվ¼²¥¼§°²×°.exe
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
git --git-dir=C:\projects\site\.git\ --work-tree=C:\projects\site\ push --quiet
}

View File

@ -1,3 +1,3 @@
git push origin master
git tag "v$env:p_version"
git push origin "v$env:p_version"
git push origin master --quiet
git push origin "v$env:p_version" --quiet