Commit 0c730f48 authored by nanahira's avatar nanahira

Update .gitlab-ci.yml

parent ac8b4d20
Pipeline #39277 passed with stages
in 2 minutes and 53 seconds
...@@ -173,6 +173,11 @@ pack: ...@@ -173,6 +173,11 @@ pack:
- mv test-release.json data/ - mv test-release.json data/
- mv test-release-v2.json data/ - mv test-release-v2.json data/
- git show -s --format=%ct $CI_COMMIT_SHA > data/version.txt - git show -s --format=%ct $CI_COMMIT_SHA > data/version.txt
# 仅在 tag 构建时写入 latest-tag.txt
- |
if [ -n "$CI_COMMIT_TAG" ]; then
echo "$CI_COMMIT_TAG" > data/latest-tag.txt
fi
- cd data - cd data
- 7z a -mx9 ../archive/ygopro-super-pre.zip pics script pack *.cdb *.conf *.ini - 7z a -mx9 ../archive/ygopro-super-pre.zip pics script pack *.cdb *.conf *.ini
- cd .. - cd ..
......
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