forked from dannyquinn/domainvalues
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yml
19 lines (15 loc) · 1.01 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: Visual Studio 2022
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: Vsix-IncrementVsixVersion DomainValues.15.0\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion DomainValues.16.0\source.extension.vsixmanifest
- ps: Vsix-IncrementVsixVersion DomainValues.17.0\source.extension.vsixmanifest | Vsix-UpdateBuildVersion
- ps: Vsix-TokenReplacement DomainValues.15.0\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
- ps: Vsix-TokenReplacement DomainValues.16.0\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
- ps: Vsix-TokenReplacement DomainValues.17.0\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
build_script:
- nuget restore -Verbosity quiet
- msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
after_test:
- ps: Vsix-PushArtifacts | Vsix-PublishToGallery