forked from jguc/SpecFlow.SimpleInjector
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
37 lines (31 loc) · 1006 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
version: '1.0.{build}'
image: Visual Studio 2019
branches:
only:
- master
environment:
BaseVersion: 1.0.1
NugetVersion: "1.0.1-ci$(APPVEYOR_BUILD_NUMBER)"
assembly_info:
patch: true
file: 'src\**\AssemblyInfo.*'
assembly_version: "$(BaseVersion)"
assembly_file_version: "$(BaseVersion)"
assembly_informational_version: "$(NugetVersion)"
nuget:
project_feed: true
disable_publish_on_pr: true
configuration: Release
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore ./src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj --verbosity m
build_script:
# output will be in ./src/bin/debug/netcoreapp1.1/publish
- cmd: dotnet publish ./src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj
after_build:
# For once the build has completed
artifacts:
- path: '\src\SpecFlow.SimpleInjector.SpecFlowPlugin\bin\Release'
name: NuGet