-
Notifications
You must be signed in to change notification settings - Fork 47
/
appveyor.yml
40 lines (38 loc) · 1.04 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
environment:
info_version: 2.5.1
version: 2.0.{build}
clone_folder: c:\utfUnknown
image: Visual Studio 2019
configuration: Release
platform: Any CPU
nuget:
project_feed: true
init:
- git config --global core.autocrlf true
build_script:
- ps: dotnet build -c Release
test_script:
- ps: cd .\tests\
- ps: dotnet test
- ps: cd ..
after_build:
- ps: msbuild -t:Pack .\src\ -p:Configuration=Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true -p:EmbedUntrackedSources=true -verbosity:minimal
- ps: Get-ChildItem '**\test-diag.log' | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
artifacts:
- path: '**\*.nupkg'
- path: '**\*.snupkg'
- path: '**\test-diag.log'
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: $(info_version)
package_version: $(info_version)
assembly_version: 2.0.0.0
file_version: '{version}'
informational_version: $(info_version)
deploy:
- provider: NuGet
api_key:
secure: iB1GljKDgO1ynQjVNyXRQY1Ib3nOuCvV+UkPGK44U/5tIhKvZm7ZSgUG5CeQj2/z
on:
branch: master