-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
62 lines (47 loc) · 1.41 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# http://www.appveyor.com/docs/appveyor-yml
#---------------------------------#
# general configuration #
#---------------------------------#
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- develop
- master
#---------------------------------#
# environment configuration #
#---------------------------------#
init:
- git config --global core.autocrlf input
cache:
- '%APPDATA%\NuGet -> src\**\packages.config'
assembly_info:
patch: true
file: src\CommonAssemblyInfo.cs
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
#---------------------------------#
# build configuration #
#---------------------------------#
configuration: Release
build:
verbosity: minimal
before_build:
- nuget restore src\CoreLogic.Sws.sln
after_build:
- mkdir out
- cd out
- nuget pack "..\src\CoreLogic.Services.Sws\CoreLogic.Services.Sws.csproj" -Properties "Configuration=%CONFIGURATION%;Platform=AnyCPU" -IncludeReferencedProjects
- ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- cd ..
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
provider: NuGet
api_key:
secure: 0f8hc8T70O9EV5Yfmqv0oQqTsiAlK63m+I4IDGCRyYE5F4nVVa1efh9CYGolY3sR
on:
branch: master