-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
47 lines (47 loc) · 1.47 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
version: 2.1.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Previous Visual Studio 2019
platform: Any CPU
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build:
verbosity: minimal
configuration: Release
before_build:
- ps: nuget restore Unchase.FluentPerformanceMeter.sln
build_script:
- msbuild Unchase.FluentPerformanceMeter.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
artifacts:
- path: artifacts/Unchase.*.nupkg
deploy:
- provider: GitHub
tag: v$(appveyor_build_version)
release: Unchase.FluentPerformanceMeter-v$(appveyor_build_version)
auth_token:
secure: 5YjB5tKbw0Z/mnSTKxo3WLD9TWuyGpGPhaNlSTA+cFA1oORUk46i6tPuyvekHaS9
repository: unchase/Unchase.FluentPerformanceMeter
artifact: /Unchase.*\.nupkg/
force_update: true
# on:
#branch: master # release from master branch only
#appveyor_repo_tag: false # deploy on tag push only
- provider: NuGet
api_key:
secure: jsvXBsuTRifpLtKgXYBysrAESPumHnOy3bXJXzUvHetfR4i35gsBi+xtOItUopA0
skip_symbols: true
artifact: /Unchase.*\.nupkg/
notifications:
- provider: Email
to:
subject: 'Unchase.FluentPerformanceMeter - Build {{status}}'
message: "Building complete, commitId = {{commitId}}"
on_build_status_changed: true