-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
60 lines (49 loc) · 1.95 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
version: 3.4.1.{build}
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
branches:
except:
- configdata
- gh-pages
- /experimental\/*/
matrix:
fast_finish: true
# https://www.appveyor.com/docs/build-environment/#build-worker-images
image: Visual Studio 2019
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build:
# enable MSBuild parallel builds
parallel: true
# MSBuild verbosity level
verbosity: minimal
# to run your custom scripts instead of automatic MSBuild
build_script:
- ps: |
& .\cibuild.cmd -restore -build -logFileName build.binlog
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
- ps: |
$zip = "combined.$env:APPVEYOR_BUILD_VERSION-unsigned.zip"
Compress-Archive -LiteralPath $(Get-ChildItem -Path artifacts\bin\ -Recurse -Filter *.vsix).FullName -CompressionLevel NoCompression -DestinationPath $zip -Force
artifacts:
- path: artifacts\log\**\*.binlog
- path: 'combined.*-unsigned.zip'
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
deploy:
- provider: Webhook
on:
ARTIFACT_SIGNING_ENABLED: true
url: https://app.signpath.io/API/v1/7c19b2cf-90f7-4d15-9b12-1b615f7c18c4/Integrations/AppVeyor?ProjectKey=GitExtensionsVSIX&SigningPolicyKey=release-signing
on_build_success: true
on_build_failure: false
on_build_status_changed: false
method: POST
authorization:
secure: IlLI/MbhdzmXF/WB2G84zYsDWePXJqHBWDb1zBPxxXvGgx0WRxzMZxuBsvCOcZvbPTRF+UcGp0d5/HT8xZUEjA==