forked from TestStack/TestStack.BDDfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (20 loc) · 900 Bytes
/
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
install:
- choco install gitversion.portable -pre -y
platform:
- Any CPU
configuration:
- Release
assembly_info:
patch: false
before_build:
- nuget restore src\
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
build:
project: src\TestStack.BDDfy.sln
after_build:
- cmd: nuget pack src\TestStack.BDDfy\TestStack.BDDfy.nuspec -BasePath src\TestStack.BDDfy\ -version "%GitVersion_NuGetVersion%" -prop "configuration=%CONFIGURATION%"
- cmd: appveyor PushArtifact "TestStack.BDDfy.%GitVersion_NuGetVersion%.nupkg"
- cmd: 7z a "TestStack.BDDfy_%GitVersion_NuGetVersion%.zip" -r src\TestStack.BDDfy\bin\%CONFIGURATION%\*.*
- cmd: appveyor PushArtifact "TestStack.BDDfy_%GitVersion_NuGetVersion%.zip"
cache:
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified