Permalink
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (35 sloc) 1.01 KB
version: '4.4.0.{build}'
pull_requests:
do_not_increment_build_number: true
environment:
snk_secret:
secure: PS4Bb+EzT83oeKqzwgwSr+n116gWIz2MzxDRgHp6Pl1Zx4kEWP0yLpv/ops4WOV1
branches:
only:
- master
image: Visual Studio 2017
configuration: Release
install:
- if defined snk_secret (nuget install secure-file -ExcludeVersion)
- if defined snk_secret (secure-file\tools\secure-file -decrypt Source\IronMeta.Library\IronMeta.snk.enc -secret %snk_secret%)
- if not defined snk_secret (copy Source\IronMeta.Library\IronMeta.PRS.snk Source\IronMeta.Library\IronMeta.snk)
before_build:
- nuget restore
build:
verbosity: minimal
after_build:
- dotnet pack Source\IronMeta.Library\IronMeta.Library.csproj -c %CONFIGURATION%
test:
assemblies:
only:
- IronMeta.Tests.dll
artifacts:
- path: '**\IronMeta.*.nupkg'
deploy:
provider: NuGet
on:
appveyor_repo_tag: true
api_key:
secure: zgS1RlHnfRi8sNKEkm2WqqNa9U7fYvJad8z5o0hNsP2VrOcUDuFsTsf28yFNOu0h
skip_symbols: false
artifact: /.*\.nupkg/