-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
31 lines (31 loc) · 858 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
environment:
base_version: '2.0.9'
version_suffix: ''
version: $(base_version).{build}
image: Visual Studio 2022
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '$(base_version)$(version_suffix)'
package_version: '$(base_version)$(version_suffix)'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '$(base_version)$(version_suffix)'
before_build:
- ps: dotnet restore
after_build:
- ps: dotnet pack -c release
build:
verbosity: minimal
publish_nuget: true
test_script:
- ps: dotnet test .\MXLogger.MSTests\MXLogger.MSTests.csproj
- ps: dotnet test .\MXLogger.xUnitTests\MXLogger.xUnitTests.csproj
- ps: dotnet test .\MXLogger.NUnitTests\MXLogger.NUnitTests.csproj
nuget:
account_feed: false
project_feed: true
disable_publish_on_pr: true
artifacts:
- path: '**\*.nupkg'