forked from Ichimoto/PSO2Tweaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
32 lines (26 loc) · 903 Bytes
/
Copy pathappveyor.yml
File metadata and controls
32 lines (26 loc) · 903 Bytes
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
version: 1.0.{build}
configuration:
- Release
- Debug
cache:
- packages -> **\PSO2 Tweaker\packages.config
before_build:
- cmd: nuget source add -Name Local -Source %APPVEYOR_BUILD_FOLDER%\dist
- cmd: nuget restore "PSO2 Tweaker.sln"
after_build:
- cmd: git rev-parse --short %APPVEYOR_REPO_COMMIT%>%TMP%\gitshort.txt
- cmd: set /P GITSHORT=<%TMP%\gitshort.txt
- set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%GITSHORT%-%CONFIGURATION%.7z
- cmd: cd "PSO2 Tweaker\bin\"
- cmd: cd %CONFIGURATION%
- cmd: 7z a %BUILD_ARCHIVE% *.* -xr!.gitignore
- appveyor PushArtifact %BUILD_ARCHIVE%
- cmd: cd ..\..\..
- set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%GITSHORT%-%CONFIGURATION%-Terminal.7z
- cmd: cd ArksLayer.Tweaker.Terminal\bin\%CONFIGURATION%
- cmd: 7z a %BUILD_ARCHIVE% *.* -xr!.gitignore
- appveyor PushArtifact %BUILD_ARCHIVE%
- cmd: cd ..\..\..
build:
project: "PSO2 Tweaker.sln"
verbosity: quiet