forked from paolosalvatori/ServiceBusExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
81 lines (64 loc) · 2.33 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#---------------------------------#
# restore nuget packages #
#---------------------------------#
before_build:
- nuget restore
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# to add several platforms to build matrix:
#platform:
# - x86
# - Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
# versioning
version: '4.0.{build}'
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
# to add several configurations to build matrix:
#configuration:
# - Debug
# - Release
build:
parallel: true # enable MSBuild parallel builds
project: ServiceBusExplorer.csproj # path to Visual Studio project
# MSBuild verbosity level
verbosity: normal # quiet|minimal|normal|detailed
#---------------------------------#
# after build - create zip #
#---------------------------------#
after_build:
7z a ServiceBusExplorer.zip %APPVEYOR_BUILD_FOLDER%\bin\Release\*.*
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: ServiceBusExplorer.zip # bin\$(configuration)\*.*
name: ServiceBusExplorer
#---------------------------------#
# GitHub PR notifications #
#---------------------------------#
notifications:
- provider: GitHubPullRequest
auth_token:
secure: SDw1gs4noXA0eUpBoBcbT2XNYwf0Bg7gHR/TpP2Y/gQS/QYST7toE0oRzoKV/2U6 # encrypted token from GitHub
template: "{{#passed}}:white_check_mark:{{/passed}}{{#failed}}:x:{{/failed}} [Build {{&projectName}} {{buildVersion}} {{status}}]({{buildUrl}}) (commit {{commitUrl}} by @{{&commitAuthorUsername}})"
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: GitHub
auth_token:
secure: SDw1gs4noXA0eUpBoBcbT2XNYwf0Bg7gHR/TpP2Y/gQS/QYST7toE0oRzoKV/2U6 # encrypted token from GitHub
artifact: /.*\.*/ # upload all NuGet packages to release assets
draft: false
prerelease: false
on:
branch: master # release from master branch only