Commit 684cf848 authored by nanahira's avatar nanahira

put databases in root dir

parent e7fdf66f
...@@ -35,7 +35,7 @@ merge_databases: ...@@ -35,7 +35,7 @@ merge_databases:
- linux - linux
script: script:
- apt update && apt -y install sqlite3 - apt update && apt -y install sqlite3
- ls cdbs/test-release.cdb | xargs -I '{}' sqlite3 '{}' .dump | sqlite3 test-release.cdb - ls -1 *.cdb | sed '/test-update.cdb/d' | xargs -I '{}' sqlite3 '{}' .dump | sqlite3 test-release.cdb
artifacts: artifacts:
paths: paths:
- test-release.cdb - test-release.cdb
...@@ -72,7 +72,8 @@ pack: ...@@ -72,7 +72,8 @@ pack:
- linux - linux
script: script:
- mkdir -p data archive - mkdir -p data archive
- mv *.cdb data/ - mv test-release.cdb data/
- mv test-update.cdb data/
- mv pics data/ - mv pics data/
- mv script data/ - mv script data/
- mv *.conf data/ - mv *.conf data/
...@@ -98,7 +99,8 @@ server: ...@@ -98,7 +99,8 @@ server:
- linux - linux
script: script:
- mkdir server-dist - mkdir server-dist
- mv *.cdb server-dist - mv test-release.cdb server-dist
- mv test-update.cdb server-dist
- mv *.conf server-dist - mv *.conf server-dist
- mv script server-dist - mv script server-dist
# merge ygopro-pre-data # merge ygopro-pre-data
......
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