-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
81 lines (64 loc) · 2.32 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
-
#branches:
#only:
# - *
# - develop
# - release
os: Visual Studio 2015
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(GitVersion_AssemblySemVer)'
assembly_file_version: '$(GitVersion_AssemblySemVer)'
assembly_informational_version: '$(GitVersion_NuGetVersion)'
install:
# GitVersion doesn't support SSH, so change the origin remote to an HTTPS URL (if using a private server:
# http://help.appveyor.com/discussions/kb/17-getting-gitversion-to-work-with-private-bitbucketgithub-repositories
# Ensure the GITVERSION_REMOTE_USERNAME and GITVERSION_REMOTE_PASSWORD env variables are set in either this file or the project configuration.
- git remote set-url origin https://github.com/daleholborow/iayos.sequentialguid.git
- GitVersion -output buildserver
before_build:
- nuget restore src\iayos.sequentialguid.sln
- echo %GitVersion_NuGetVersion%
build:
publish_nuget: true
verbosity: minimal
test: off
configuration:
- Debug
cache:
- packages
-
branches:
only:
- master
os: Visual Studio 2015
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(GitVersion_AssemblySemVer)'
assembly_file_version: '$(GitVersion_AssemblySemVer)'
assembly_informational_version: '$(GitVersion_NuGetVersion)'
install:
# GitVersion doesn't support SSH, so change the origin remote to an HTTPS URL (if using a private server:
# http://help.appveyor.com/discussions/kb/17-getting-gitversion-to-work-with-private-bitbucketgithub-repositories
# Ensure the GITVERSION_REMOTE_USERNAME and GITVERSION_REMOTE_PASSWORD env variables are set in either this file or the project configuration.
- git remote set-url origin https://github.com/daleholborow/iayos.sequentialguid.git
- GitVersion -output buildserver
before_build:
- nuget restore src\iayos.sequentialguid.sln
- echo %GitVersion_NuGetVersion%
build:
publish_nuget: true
verbosity: minimal
test: off
configuration:
- Release
cache:
- packages
deploy:
provider: NuGet
api_key:
secure: RecutddoR0t/Ux0kW2FMkNmucowRhtk6W5vWfwAjnodkpf6zLZwr0stBeYiPfBsk
skip_symbols: true
artifact: /.*\.nupkg/