Commit 91a7aa76 authored by mercury233's avatar mercury233

fix replay folder

parent d8d968fe
...@@ -52,12 +52,13 @@ script: ...@@ -52,12 +52,13 @@ script:
before_deploy: before_deploy:
- curl --location --retry 5 'https://github.com/mycard/ygopro-database/archive/master.tar.gz' | tar --strip-components=1 -zxf - ygopro-database-master/locales - curl --location --retry 5 'https://github.com/mycard/ygopro-database/archive/master.tar.gz' | tar --strip-components=1 -zxf - ygopro-database-master/locales
- cp locales/zh-CN/* . - cp locales/zh-CN/* .
- tar -Jcf ygopro-lite-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude=ygopro-lite* ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb locales - mkdir replay
- tar -Jcf ygopro-lite-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude=ygopro-lite* ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb locales replay
- mkdir pics - mkdir pics
- curl --location --retry 5 --output 'ygopro-images-zh-CN.zip' https://github.com/mycard/ygopro-images/releases/download/latest/ygopro-images-zh-CN.zip - curl --location --retry 5 --output 'ygopro-images-zh-CN.zip' https://github.com/mycard/ygopro-images/releases/download/latest/ygopro-images-zh-CN.zip
- unzip -q -d pics ygopro-images-zh-CN.zip - unzip -q -d pics ygopro-images-zh-CN.zip
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude='.git*' ygopro.app LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude='.git*' ygopro.app LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales replay; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude='.git*' ygopro LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude='.git*' ygopro LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales replay; fi
deploy: deploy:
provider: releases provider: releases
file: file:
......
...@@ -44,11 +44,12 @@ after_build: ...@@ -44,11 +44,12 @@ after_build:
- ps: move bin\release\ygopro.exe . - ps: move bin\release\ygopro.exe .
- curl --location --retry 5 'https://github.com/mycard/ygopro-database/archive/master.tar.gz' | tar --strip-components=1 -zxf - ygopro-database-master/locales - curl --location --retry 5 'https://github.com/mycard/ygopro-database/archive/master.tar.gz' | tar --strip-components=1 -zxf - ygopro-database-master/locales
- cp locales/zh-CN/* . - cp locales/zh-CN/* .
- 7z a ygopro-lite-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb locales -xr!.git* - mkdir replay
- 7z a ygopro-lite-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb locales replay -xr!.git*
- mkdir pics - mkdir pics
- curl --location --retry 5 --output 'ygopro-images-zh-CN.zip' https://github.com/mycard/ygopro-images/releases/download/latest/ygopro-images-zh-CN.zip - curl --location --retry 5 --output 'ygopro-images-zh-CN.zip' https://github.com/mycard/ygopro-images/releases/download/latest/ygopro-images-zh-CN.zip
- unzip -q -d pics ygopro-images-zh-CN.zip - unzip -q -d pics ygopro-images-zh-CN.zip
- 7z a ygopro-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales -xr!.git* - 7z a ygopro-%APPVEYOR_REPO_TAG_NAME%-win32.7z ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales replay -xr!.git*
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