Commit cd2bc45f authored by mercury233's avatar mercury233

test appveyor

parent 7354dd27
...@@ -24,12 +24,13 @@ for: ...@@ -24,12 +24,13 @@ for:
after_build: after_build:
- ps: | - ps: |
if(-not $env:appveyor_pull_request_number) { if(-not $env:appveyor_pull_request_number) {
$env:GIT_REDIRECT_STDERR = '2>&1'
git fetch --depth 1 origin dump:dump git fetch --depth 1 origin dump:dump
git checkout dump git checkout dump
Copy-Item -Path .\dumps\* -Destination .\locales\ -Recurse -Force Copy-Item -Path .\dumps\* -Destination .\locales\ -Recurse -Force
git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL
git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR
git commit -a -m $env:APPVEYOR_REPO_COMMIT_MESSAGE try { git commit -a -m $env:APPVEYOR_REPO_COMMIT_MESSAGE } catch { Write-Output "Nothing Changed" }
git config --global credential.helper store git config --global credential.helper store
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n" Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
git push origin dump git push origin dump
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment