forked from Yuubari/KanColleViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (52 loc) · 1.59 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '{build}'
branches:
only:
- ui-localisation
- translation
os: Visual Studio 2015
configuration: Release
platform: Any CPU
init:
- cmd: git config --global core.autocrlf true
environment:
PATH: C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
nuget:
disable_publish_on_pr: true
before_build:
- cmd: >-
git submodule init
git submodule update
nuget restore source\KanColleViewer.sln -PackagesDirectory source\packages
build:
project: source\KanColleViewer.sln
publish_nuget: false
verbosity: minimal
after_build:
- cmd: >-
7z a KanColleViewer.zip
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\*.dll
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\KanColleViewer.exe
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\KanColleViewer.exe.config
7z a KanColleViewer.zip
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\en
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\ko-KR
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\zh-CN
7z a
-xr!*.pdb
-xr!*.xml
-xr!*.config
-xr!ExPlugin.*
KanColleViewer.zip
%APPVEYOR_BUILD_FOLDER%\source\Grabacr07.KanColleViewer\bin\Release\Plugins
artifacts:
- path: KanColleViewer.zip
name: KanColleViewer
deploy:
- provider: FTP
beta: true
protocol: ftps
host: koumakan.jp
username: $(ftpuser)
password: $(ftppassword)
folder: $(appveyor_repo_branch)-$(appveyor_build_version)
artifact: KanColleViewer.zip