-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
38 lines (32 loc) · 944 Bytes
/
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
image: Visual Studio 2019
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: $(newversion)
version_prefix: '{newversion}'
package_version: $(newversion)
assembly_version: $(newversion)
file_version: $(newversion)
informational_version: $(newversion)
environment:
pfx_key:
secure: dBFEXqEIAq2LjMxAIFMOg41T/9OZDNyfOupI1hnAlUe7yL4aB08MfQXvBlyMm6Ns
before_build:
- nuget restore
install:
- ps: |
$xmlPath = "$env:appveyor_build_folder\src\DynamicVML.csproj"
$xml = [xml](get-content $xmlPath)
$version = ($xml.Project.PropertyGroup | ? {$_.Version}).Version
$env:newversion = ($version.Substring(0, $version.LastIndexOf(".") + 1)) + $env:appveyor_build_number
test:
# only assemblies to test
assemblies:
only:
- 'tests\**\tests.dll'
build:
publish_nuget: false
publish_nuget_symbols: true
use_snupkg_format: true
publish_aspnet_core: true
verbosity: minimal