Commit 1f8ca360 authored by 神楽坂玲奈's avatar 神楽坂玲奈

appveyor

parent 9f6d605a
...@@ -23,13 +23,14 @@ install: ...@@ -23,13 +23,14 @@ install:
- mv ygopro-database/cards.zh-CN.cdb ygopro-database/zh-CN.cdb - mv ygopro-database/cards.zh-CN.cdb ygopro-database/zh-CN.cdb
- echo {} > ygopro-images/records.json - echo {} > ygopro-images/records.json
- ps: wget https://github.com/mycard/ygopro-images-raw/raw/master/10000000.jpg -OutFile ygopro-images-raw/10000000.jpg - ps: wget https://github.com/mycard/ygopro-images-raw/raw/master/10000000.jpg -OutFile ygopro-images-raw/10000000.jpg
- ps: wget https://github.com/mycard/ygopro-images-raw/raw/master/10000001.jpg -OutFile ygopro-images-raw/10000001.jpg
after_build: after_build:
- ruby generate.rb zh-CN - ruby generate.rb zh-CN
- magicseteditor\mse.com --export mse-sets\data0-zh-CN.mse-set "ygopro-images-zh-CN\{card.gamecode}.png" - magicseteditor\mse.com --export mse-sets\data0-zh-CN.mse-set "ygopro-images-zh-CN\{card.gamecode}.png"
- mkdir ygopro-images\thumbnail - mkdir ygopro-images\thumbnail
- 'magick "ygopro-images-zh-CN\10000000.png" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images\10000000.jpg"' - magick "ygopro-images-zh-CN\10000000.png" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images\10000000.jpg"
- 'magick "ygopro-images-zh-CN\10000000.png" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images\thumbnail\10000000.jpg"' - magick "ygopro-images-zh-CN\10000000.png" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images\thumbnail\10000000.jpg"
artifacts: artifacts:
- path: ygopro-images - path: ygopro-images
...@@ -37,12 +38,12 @@ artifacts: ...@@ -37,12 +38,12 @@ artifacts:
type: 7z type: 7z
deploy: deploy:
release: latest release: latest
description: 'Release description' description: 'Automatic uild'
provider: GitHub provider: GitHub
auth_token: auth_token:
secure: itZ9Z1dxEpfPJLdTs/PiY98pVZ3GCLNWfid7eAu7SL88Jl9AIrf/3rviKFEbsnoY # your encrypted token from GitHub secure: itZ9Z1dxEpfPJLdTs/PiY98pVZ3GCLNWfid7eAu7SL88Jl9AIrf/3rviKFEbsnoY # your encrypted token from GitHub
draft: false draft: false
prerelease: true prerelease: false
on: on:
branch: master # release from master branch only branch: master # release from master branch only
#appveyor_repo_tag: true # deploy on tag push only #appveyor_repo_tag: true # deploy on tag push only
......
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