Commit 6fd75eee authored by mercury233's avatar mercury233

test appveyor

parent 8b33e5ee
version: '{build}' version: '{build}'
skip_tags: true skip_tags: true
environment:
access_token:
secure: DOOS4g7CT8ctOgiMr62K56qQ1FO6s2ESpqNZlhf8F4nomemvvwxV/pRj9nbKmtjR
install: install:
- git submodule update --init --recursive - git submodule update --init --recursive
...@@ -53,6 +57,9 @@ after_build: ...@@ -53,6 +57,9 @@ after_build:
- mkdir replay - mkdir replay
- bash -c "curl --retry 5 --location --remote-header-name --remote-name https://github.com/mercury233/ygopro/raw/server/cards.cdb ; exit 0" - bash -c "curl --retry 5 --location --remote-header-name --remote-name https://github.com/mercury233/ygopro/raw/server/cards.cdb ; exit 0"
- 7z a ygopro-ver.233.7z ygopro.exe LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck pics replay -xr!.git* - 7z a ygopro-ver.233.7z ygopro.exe LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck pics replay -xr!.git*
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git tag latest HEAD - git tag latest HEAD
- git push -f origin latest - git push -f origin latest
...@@ -69,8 +76,7 @@ deploy: ...@@ -69,8 +76,7 @@ deploy:
release: latest release: latest
description: 'Automatic Build by Appveyor' description: 'Automatic Build by Appveyor'
provider: GitHub provider: GitHub
auth_token: auth_token: $env:access_token
secure: DOOS4g7CT8ctOgiMr62K56qQ1FO6s2ESpqNZlhf8F4nomemvvwxV/pRj9nbKmtjR
force_update: true force_update: true
on: on:
branch: master branch: master
......
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