Commit cdb1d2b6 authored by mercury233's avatar mercury233

test appveyor

parent 54edcdfb
...@@ -22,17 +22,19 @@ for: ...@@ -22,17 +22,19 @@ for:
- master - master
after_build: | after_build: |
if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" ( && bash -c "
git fetch --depth 1 origin dump:dump && if [ -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" ]; then
git checkout dump && git fetch --depth 1 origin dump:dump
cp -rf dumps/* locales/ && git checkout dump
git config --global user.email %APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL% && cp -rf dumps/* locales/
git config --global user.name %APPVEYOR_REPO_COMMIT_AUTHOR% && git config --global user.email $APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL
bash -c "git commit -a -m '%APPVEYOR_REPO_COMMIT_MESSAGE%' ; exit 0" && git config --global user.name $APPVEYOR_REPO_COMMIT_AUTHOR
git config --global credential.helper store && bash -c \"git commit -a -m '$APPVEYOR_REPO_COMMIT_MESSAGE' ; exit 0 \"
echo https://%access_token%:x-oauth-basic@github.com >> %USERPROFILE%\.git-credentials && git config --global credential.helper store
git push origin dump && echo https://${access_token}:x-oauth-basic@github.com >> $HOME/.git-credentials
git push origin dump
fi
"
cache: cache:
- sqlite-tools-win-x64-3450300.zip - sqlite-tools-win-x64-3450300.zip
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