Commit d6e74ac7 authored by fallenstardust's avatar fallenstardust
parents a4a1526a af75371a
Pipeline #25508 passed with stages
in 1 minute and 10 seconds
...@@ -77,6 +77,24 @@ json2: ...@@ -77,6 +77,24 @@ json2:
paths: paths:
- test-release-v2.json - test-release-v2.json
neos:
stage: pack
dependencies:
- merge_databases
tags:
- linux
script:
- apt update && apt -y install sqlite3
- mkdir neos
- sqlite3 test-release.cdb .dump >> ygopro-super-pre-neos.sql
- sqlite3 test-update.cdb .dump >> ygopro-super-pre-neos.sql
- wget -O cards.cdb https://code.mycard.moe/mycard/ygopro-database/-/raw/master/locales/zh-CN/cards.cdb
- sqlite3 cards.cdb .dump >> ygopro-super-pre-neos.sql
- cat ygopro-super-pre-neos.sql | sqlite3 neos/ygopro-super-pre-neos.cdb || true
artifacts:
paths:
- neos
pack: pack:
stage: pack stage: pack
dependencies: dependencies:
...@@ -150,6 +168,15 @@ upload_data: ...@@ -150,6 +168,15 @@ upload_data:
only: only:
- tags - tags
upload_neos:
extends: .minio
variables:
uploadDir: neos
dependencies:
- neos
only:
- master
upload_version_json: upload_version_json:
extends: .minio extends: .minio
script: script:
......
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