Commit 14fa4e7e authored by mercury233's avatar mercury233

update appveyor sqlite

parent 3909032b
......@@ -4,30 +4,31 @@ environment:
access_token:
secure: wxAvRgqg8ErfZm05ESB2zJxjwhny9wS0kRgK8TBDl2UeXnA06tqZPtNkwfRJc9SE
install:
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://sqlite.org/2017/sqlite-tools-win32-x86-3210000.zip ; exit 0"
- 7z x sqlite-tools-win32-x86-3210000.zip
- mv sqlite-tools-win32-x86-3210000/sqlite3.exe .
shallow_clone: true
test: off
install:
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://sqlite.org/2024/sqlite-tools-win-x64-3450300.zip ; exit 0"
- 7z x sqlite-tools-win-x64-3450300.zip
- mv sqlite-tools-win-x64-3450300/sqlite3.exe .
- cp -r locales dumps
build_script:
- FOR /R dumps %%f in (*.cdb) DO sqlite3.exe %%f .dump > %%f.sql
after_build:
-
branches:
only:
- master
after_build:
- git checkout dump
- cp -rf dumps/* locales/
- git config --global user.email %APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%
- git config --global user.name %APPVEYOR_REPO_COMMIT_AUTHOR%
- bash -c "git commit -a -m '%APPVEYOR_REPO_COMMIT_MESSAGE%' ; exit 0"
on_success:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git push origin dump
test: off
cache:
- sqlite-tools-win32-x86-3210000.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