mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
Release: 1.0.8
中文编码问题 + git 分支问题
This commit is contained in:
parent
ab7a94a4eb
commit
69cf5ed5ce
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user