-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
appveyor.yml
38 lines (33 loc) · 1.67 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
pull_requests:
do_not_increment_build_number: true
branches:
only:
- main
skip_tags: true
configuration: Release
image: Visual Studio 2019
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- cmd: nuget restore .\VSIX\RapidXamlToolkit.sln -Verbosity quiet
- cmd: nuget restore .\Templates\RapidXaml.Templates.sln -Verbosity quiet
#- ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
#- ps: Vsix-TokenReplacement src\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
- ps: Vsix-IncrementVsixVersion .\VSIX\RapidXaml.Analysis\source.extension.vsixmanifest | Vsix-UpdateBuildVersion
- ps: Vsix-IncrementVsixVersion .\VSIX\RapidXaml.Common\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion .\VSIX\RapidXaml.EditorExtras\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion .\VSIX\RapidXaml.Generation\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion .\VSIX\RapidXaml.RoslynAnalyzers\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion .\VSIX\RapidXamlToolkit\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion .\Templates\RapidXaml.Templates\source.extension.vsixmanifest
build_script:
- msbuild .\VSIX\RapidXamlToolkit.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:n
- msbuild .\Templates\RapidXaml.Templates.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:n
after_test:
- ps: Vsix-PushArtifacts | Vsix-PublishToGallery
skip_commits:
files:
- _build/*
- Assets/*
- docs/*
- '**/*.md'