-
Notifications
You must be signed in to change notification settings - Fork 136
/
appveyor.yml
61 lines (48 loc) · 1.42 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
#---------------------------------#
# general configuration #
#---------------------------------#
branches:
only:
- master
install:
- choco install gitversion.portable -y
- ps: gitversion /l console /output buildserver
- ps: Update-AppveyorBuild -Version $GitVersion_FullSemVer
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: $(GitVersion_AssemblySemVer)
assembly_file_version: $(GitVersion_MajorMinorPatch).$(APPVEYOR_BUILD_NUMBER)
assembly_informational_version: $(GitVersion_InformationalVersion)
#---------------------------------#
# environment configuration #
#---------------------------------#
image:
- Visual Studio 2017
#---------------------------------#
# build configuration #
#---------------------------------#
platform:
- Any CPU
configuration:
- Release
build:
project: Main\Source\SharpVectorsReloaded.sln
after_build:
- ps: nuget pack "Main\Source\SharpVectorsReloaded.nuspec" -Properties "version=$env:GitVersion_NuGetVersionV2"
#---------------------------------#
# packaging artifacts #
#---------------------------------#
artifacts:
- path: '**\*.nupkg'
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: NuGet
api_key:
secure: <your secret here>
skip_symbols: true
artifact: /.*\.nupkg/
on:
APPVEYOR_REPO_TAG: true