-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathappveyor.yml
41 lines (32 loc) · 1.21 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
version: 0.11.{build}
skip_tags: true # avoid deploy to GitHub loop
# enable patching of AssemblyInfo.* files with APPVEYOR version
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
image: Visual Studio 2022
configuration:
- Release
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: Vsix-IncrementVsixVersion .\GLSLx64\source.extension.vsixmanifest | Vsix-UpdateBuildVersion
- ps: Vsix-IncrementVsixVersion .\GLSL\source.extension.vsixmanifest | Vsix-UpdateBuildVersion
- nuget restore -Verbosity quiet
#- ps: Vsix-TokenReplacement src\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
build:
verbosity: minimal # MSBuild verbosity level
after_test:
- ps: Vsix-PushArtifacts | Vsix-PublishToGallery
deploy:
release: $(appveyor_build_version)
description: 'Released Created By Appveyor'
provider: GitHub
auth_token:
secure: wd4sav5la53QA4mjCgbAQAOoP7aHJgfEfT+ARpjQJ1OxRE6H5fqrIuGQB+Cc/cSm
artifact: Latest build
draft: false
prerelease: false