Commit 14fa4e7e authored by mercury233's avatar mercury233

update appveyor sqlite

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