Commit 3f25569a authored by 神楽坂玲奈's avatar 神楽坂玲奈

CI

parent ecf6d656
...@@ -38,8 +38,9 @@ script: ...@@ -38,8 +38,9 @@ script:
before_deploy: before_deploy:
- wget https://mycard.moe/ygopro/cards.cdb - wget https://mycard.moe/ygopro/cards.cdb
- XZ_OPT=-9e tar -Jcf ygopro-lite-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb - XZ_OPT=-9e tar -Jcf ygopro-lite-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb
- curl -L https://github.com/mycard/ygopro-images-field/archive/master.tar.gz | tar --strip-components=1 -zxf - ygopro-images-field-master/field
- mkdir -p pics; wget -O - https://github.com/mycard/deprecated-ygopro-images/archive/zh-CN.tar.gz | tar --strip-components=1 -C pics -zxf - - mkdir -p pics; wget -O - https://github.com/mycard/deprecated-ygopro-images/archive/zh-CN.tar.gz | tar --strip-components=1 -C pics -zxf -
- XZ_OPT=-9e tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb pics - XZ_OPT=-9e tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb pics field
deploy: deploy:
provider: releases provider: releases
file: file:
......
...@@ -57,10 +57,11 @@ after_build: ...@@ -57,10 +57,11 @@ after_build:
- ps: move bin\release\ygopro.exe . - ps: move bin\release\ygopro.exe .
- ps: Start-FileDownload https://mycard.moe/ygopro/cards.cdb - ps: Start-FileDownload https://mycard.moe/ygopro/cards.cdb
- 7z a ygopro-lite-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb - 7z a ygopro-lite-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb
- curl -L https://github.com/mycard/ygopro-images-field/archive/master.tar.gz | tar --strip-components=1 -zxf - ygopro-images-field-master/field
- ps: Start-FileDownload https://github.com/mycard/deprecated-ygopro-images/archive/zh-CN.tar.gz - ps: Start-FileDownload https://github.com/mycard/deprecated-ygopro-images/archive/zh-CN.tar.gz
- mkdir pics - mkdir pics
- tar --strip-components=1 -C pics -xf zh-CN.tar.gz - tar --strip-components=1 -C pics -xf zh-CN.tar.gz
- 7z a ygopro-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb pics - 7z a ygopro-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures cards.cdb pics field
artifacts: artifacts:
- path: ygopro-lite-$(APPVEYOR_REPO_TAG_NAME)-win32.7z - path: ygopro-lite-$(APPVEYOR_REPO_TAG_NAME)-win32.7z
name: ygopro-lite name: ygopro-lite
......
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