Commit 4598ffe2 authored by nanahira's avatar nanahira

Revert "auto_cdb"

This reverts commit 46c01fbb.
parent 46c01fbb
......@@ -3,36 +3,18 @@ version: '{build}'
environment:
AUTH_TOKEN:
secure: EQ9miMjfX/QAoBvgc6D+JLmHatLyxOEKZ/uo68QijxWW5Gp4MzB/pOH9+u2GlDVO
install:
build_script:
- git config --global user.name "purerosefallen"
- git config --global user.email "78877@qq.com"
- git checkout master
- 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 -f sqlite-tools-win32-x86-3210000/sqlite3.exe /bin/
- git clone https://github.com/purerosefallen/ygopro-222DIY
build_script:
- bash -c "sqlite3 expansions/7cgl.cdb .dump > nanahira.sql"
- git clone https://github.com/purerosefallen/ygopro-222DIY
- cd ygopro-222DIY
- bash -c "sqlite3 expansions/222DIY.cdb .dump > ../222-master.sql"
- rm -rf expansions/222DIY.cdb
- bash -c "sqlite3 expansions/222DIY.cdb < ../nanahira.sql &> /null"
- bash -c "sqlite3 expansions/222DIY.cdb < ../222-master.sql &> /null"
- cp -rf ../expansions/script expansions
- git add . -A
- git commit -m "Auto Push by Nanahira"
- bash -c "sqlite3 expansions/222DIY.cdb .dump > ../222-data.sql"
- rm -rf expansions/222DIY.cdb
- bash -c "sqlite3 expansions/222DIY.cdb < ../nanahira.sql &> /null"
- bash -c "sqlite3 expansions/222DIY.cdb < ../222-data.sql &> /null"
- git checkout data
- cp -rf ../expansions/pics expansions
......
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