-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (29 loc) · 869 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
image: Visual Studio 2017
configuration: Release
platform: Any CPU
install:
- ps: $env:build_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
- ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
before_build:
- cmd: dotnet restore
build:
parallel: true
verbosity: minimal
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: $(build_version)
package_version: $(build_version)
# file_version: $(APPVEYOR_BUILD_VERSION)
artifacts:
- path: '**\PfxToSnk.*.nupkg'
name: 'PfxToSnk'
deploy:
provider: NuGet
api_key:
secure: 4ecLISsp0ABX9R23S/IMP0HP7bMftyHBZBDU0LEvhgJP/lhTTUvmOl1SSZNM6U/4
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only