forked from takeshich/XmlRpcCS
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.appveyor.yml
34 lines (26 loc) · 840 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
init:
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER" } else { $env:TAG_VERSION = "v3.1.2.$env:APPVEYOR_BUILD_NUMBER" }
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v',''
- ps: Write-Host "Setting version to '$env:TAG_VERSION'"
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION"
image: Visual Studio 2019
configuration: Release
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
build:
project: XmlRpcCore.sln
parallel: true
verbosity: minimal
publish_nuget: true
publish_nuget_symbols: false
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
before_build:
- nuget restore XmlRpcCore.sln