-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathappveyor.yml
36 lines (36 loc) · 1.02 KB
/
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
version: '1.0.{build}'
image: Visual Studio 2017
branches:
only:
- master
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}-$(APPVEYOR_REPO_BRANCH)+$(APPVEYOR_REPO_COMMIT)'
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
install:
# Install repo specific stuff here
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore ./TreeListView/TreeListView.csproj --verbosity m
build_script:
# output will be in ./src/bin/debug/netcoreapp1.1/publish
- cmd: dotnet pack ./TreeListView/TreeListView.csproj -c Release
after_build:
# For once the build has completed
artifacts:
- path: '\TreeListView\bin\Release\*.nupkg'
name: NuGet Package
type: NuGetPackage
clone_depth: 1
on_finish :
# any cleanup in here
deploy: off