-
Notifications
You must be signed in to change notification settings - Fork 50
/
appveyor.yml
30 lines (21 loc) · 978 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
29
30
install:
- choco install gitversion.portable -pre -y
- choco install gitlink -y
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
assembly_info:
patch: false
configuration:
- Release
platform:
- Any CPU
before_build:
- nuget restore
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
build_script:
- cmd: msbuild UIAComWrapper.sln "/p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%"
- cmd: GitLink . -u https://github.com/TestStack/UIAComWrapper -c %CONFIGURATION%
- cmd: ECHO nuget pack <Project>\<NuSpec>.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
- cmd: nuget pack UiaComWrapper\UIAComWrapper.nuspec -version "%GitVersion_NuGetVersion%" -BasePath "UiaComWrapper\bin\%CONFIGURATION%"
- cmd: appveyor PushArtifact "UIAComWrapper.%GitVersion_NuGetVersion%.nupkg"
cache:
- packages -> **\packages.config