-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
42 lines (33 loc) · 901 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
42
version: '{build}'
image: Visual Studio 2015
configuration: Release
pull_requests:
do_not_increment_build_number: true
cache:
- packages -> **\packages.config
install:
- ps: choco install gitversion.portable -pre -y
assembly_info:
patch: true
nuget:
disable_publish_on_pr: true
before_build:
- ps: nuget restore src/Nancy.OAuth2.sln
- ps: gitversion /l console /output buildserver /updateAssemblyInfo /b (get-item env:APPVEYOR_REPO_BRANCH).Value
build:
project: src/Nancy.OAuth2.sln
verbosity: minimal
after_build:
- cmd: nuget pack src\Nancy.OAuth2\Nancy.OAuth2.csproj -Version "%GitVersion_NuGetVersion%" -Prop "target=%CONFIGURATION%"
artifacts:
- path: '*.nupkg'
name: NuGet
deploy:
- provider: Environment
name: PreRelease Nuget Feed
on:
branch: master
- provider: Environment
name: Public Nuget Feed
on:
appveyor_repo_tag: true