-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (30 loc) · 1.16 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
skip_tags: true
image: Visual Studio 2017
configuration: Release
skip_commits:
message: /\[WIP\]/
on_failure:
- ps: 7z a "WorkingTree.zip"
- ps: Push-AppveyorArtifact WorkingTree.zip
install:
- choco install gitversion.portable -pre -y
assembly_info:
patch: false
before_build:
- nuget restore
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
after_build:
- cmd: ECHO nuget pack phirSOFT.SettingsService.ApplicationSettingsService\phirSOFT.SettingsService.ApplicationSettingsService.csproj -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
- cmd: nuget pack phirSOFT.SettingsService.ApplicationSettingsService\phirSOFT.SettingsService.ApplicationSettingsService.csproj -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "phirSOFT.SettingsService.ApplicationSettingsService.%GitVersion_NuGetVersion%.nupkg"
deploy:
- provider: GitHub
auth_token:
secure: yswFCZCA7JeJhx7wgRTYHUrG4ekVIL1HHlzbnx8J5zLALrtBrMEhYf5djORWOFyR
on:
branch: master
- provider: NuGet
api_key:
secure: NhP9CtfgxJXRfif3XDw9By7Gj1yQOmB4TvnarTFLLkYW9VRSEuCQfkfG9G2XshKA
on:
branch: master