forked from remogloor/Ninject.Web.WebApi
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathappveyor.yml
41 lines (33 loc) · 839 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
39
40
41
configuration: Release
image: Visual Studio 2017
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
}
else
{
Update-AppveyorBuild -Version "3.3.0-ci.$($env:APPVEYOR_BUILD_NUMBER)+sha.$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
}
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
cache:
- '%LocalAppData%\NuGet\v3-cache -> **\*.csproj'
- packages -> **\packages.config
before_build:
- nuget restore -Verbosity quiet
build:
parallel: true
verbosity: minimal
artifacts:
- path: 'src\**\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: ObZpjlJ2soInYT4Ooi+u2KeQQ1LRsBbRA9uPU7ctOma7CZxxNN8hPUVjwFUY2wS1
on:
appveyor_repo_tag: true