Skip to content

Commit b52b77f

Browse files
committed
Adding appveyor build config
1 parent 6491237 commit b52b77f

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

appveyor.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
assembly_info:
2+
patch: false
3+
4+
platform:
5+
- Any CPU
6+
7+
configuration:
8+
- Debug
9+
10+
build_script:
11+
- cmd: nuget restore
12+
13+
- cmd: msbuild GitVersion.sln "/p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%"
14+
15+
- ps: & "/GitVersionExe/bin/$env:Configuration/GitVersion.exe" /l console /output buildserver /updateAssemblyInfo
16+
17+
- cmd: appveyor PushArtifact "NuGetExeBuild/GitVersion.Portable.%GitVersion_NuGetVersion%.nupkg"
18+
19+
- cmd: appveyor PushArtifact "NuGetCommandLineBuild/GitVersion.CommandLine.%GitVersion_NuGetVersion%.nupkg"
20+
- cmd: appveyor PushArtifact "NuGetRefBuild/GitVersion.%GitVersion_NuGetVersion%.nupkg"
21+
- cmd: appveyor PushArtifact "NuGetTaskBuild/GitVersionTask.%GitVersion_NuGetVersion%.nupkg"
22+
23+
artifacts:
24+
- path: NuGetCommandLineBuild\Tools
25+
name: GitVersion_$(GitVersion_NuGetVersion)
26+
type: zip
27+
28+
deploy:
29+
- provider: NuGet
30+
server: http://chocolatey.org
31+
api_key:
32+
secure:
33+
artifact: /GitVersion.Portable\.$(GitVersion_NuGetVersion)\.nupkg/
34+
35+
- provider: NuGet
36+
api_key:
37+
secure:
38+
artifact: /GitVersion.CommandLine\.$(GitVersion_NuGetVersion)\.nupkg/
39+
40+
- provider: NuGet
41+
api_key:
42+
secure:
43+
artifact: /GitVersionTask\.$(GitVersion_NuGetVersion)\.nupkg/
44+
45+
- provider: NuGet
46+
api_key:
47+
secure:
48+
artifact: /GitVersion\.$(GitVersion_NuGetVersion)\.nupkg/
49+
50+
- provider: GitHub
51+
release: v$(GitVersion_SemVer)
52+
tag: v$(GitVersion_SemVer)
53+
auth_token:
54+
secure:
55+
artifact: /GitVersion_$(GitVersion_NuGetVersion).zip/

0 commit comments

Comments
 (0)