-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
appveyor.yml
37 lines (37 loc) · 1.35 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
version: 1.9.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2022
platform: Any CPU
build:
verbosity: minimal
configuration: Release
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/unchase/Unchase.OpenAPI.Connectedservice/master/vsix.ps1") | iex
before_build:
- ps: nuget restore src\Unchase.OpenAPI.ConnectedService.sln
- ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
build_script:
- msbuild src\Unchase.OpenAPI.ConnectedService.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
after_test:
- ps: Vsix-PushArtifacts | Vsix-PublishToGallery
deploy:
- provider: GitHub
tag: v$(appveyor_build_version)
release: Unchase.OpenAPI.ConnectedService-v$(appveyor_build_version)
auth_token:
secure: 5YjB5tKbw0Z/mnSTKxo3WLD9TWuyGpGPhaNlSTA+cFA1oORUk46i6tPuyvekHaS9
repository: unchase/Unchase.OpenAPI.ConnectedService
artifact: /.*\.vsix/
force_update: true
# on:
#branch: master # release from master branch only
#appveyor_repo_tag: false # deploy on tag push only
notifications:
- provider: Email
to:
subject: 'Unchase.OpenAPI.ConnectedService - Build {{status}}'
message: "Building complete, commitId = {{commitId}}"
on_build_status_changed: true