Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zh99998 authored Dec 8, 2016
1 parent 00ca40d commit 1f4f956
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ after_build:
- 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
- unzip -q -d pics ygopro-images-zh-CN.zip
- tar -Jcf ygopro-%APPVEYOR_REPO_TAG_NAME%-win32.tar.xz --exclude='.git*' ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics
- tar -zcf ygopro-%APPVEYOR_REPO_TAG_NAME%-win32.tar.gz --exclude='.git*' ygopro.exe LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics
# 语言包
- cd locales/en-US
- mkdir pics # 下载那个语言的卡图
- tar -Jcf ../../ygopro-lang-en-US-%APPVEYOR_REPO_TAG_NAME%.tar.xz --exclude='.git*' cards.cdb strings.conf pics
- tar -zcf ../../ygopro-lang-en-US-%APPVEYOR_REPO_TAG_NAME%.tar.gz --exclude='.git*' cards.cdb strings.conf pics
- cd ../..
- cd locales/ja-JP
- mkdir pics
- tar -Jcf ../../ygopro-lang-ja-JP-%APPVEYOR_REPO_TAG_NAME%.tar.xz --exclude='.git*' cards.cdb strings.conf pics
- tar -zcf ../../ygopro-lang-ja-JP-%APPVEYOR_REPO_TAG_NAME%.tar.gz --exclude='.git*' cards.cdb strings.conf pics
- cd ../..
artifacts:
- path: ygopro-$(APPVEYOR_REPO_TAG_NAME)-win32.tar.xz
- path: ygopro-$(APPVEYOR_REPO_TAG_NAME)-win32.tar.gz
name: ygopro
- path: ygopro-lang-en-US-$(APPVEYOR_REPO_TAG_NAME).tar.xz
- path: ygopro-lang-en-US-$(APPVEYOR_REPO_TAG_NAME).tar.gz
name: ygopro-lang-en-US
- path: ygopro-lang-ja-JP-$(APPVEYOR_REPO_TAG_NAME).tar.xz
- path: ygopro-lang-ja-JP-$(APPVEYOR_REPO_TAG_NAME).tar.gz
name: ygopro-lang-ja-JP
deploy:
description: 'Automatic build'
Expand Down

0 comments on commit 1f4f956

Please sign in to comment.