forked from helix-toolkit/helix-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
36 lines (28 loc) · 1.19 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
version: 2015.1.{build}
environment:
nuget_api_key:
secure: kM3Kse+ivuuE5RVoe6dPdw+aguWx56K2YeXujGa9tMPQTms3lv7QxNpTLFMALYNa
install:
- cinst LynxToolkit -y
- cinst gitlink -Pre -y
platform: Any CPU
configuration: Release
build:
project: Source/HelixToolkit.AppVeyor.sln
verbosity: normal
before_build:
- nuget restore .\Source\HelixToolkit.Wpf.SharpDX.sln
- cmd: UpdateVersionNumbers /Version=%APPVEYOR_BUILD_VERSION% /ExtractReleaseNotes=CHANGELOG.md /Directory=Source
after_build:
- cmd: gitlink c:\projects\helix-toolkit -u https://github.com/helix-toolkit/helix-toolkit -b master -f Source/HelixToolkit.AppVeyor.sln
deploy_script:
- cmd: mkdir Packages
- cmd: NuGet.exe pack Source\HelixToolkit\HelixToolkit.nuspec -OutputDirectory Packages
- cmd: NuGet.exe pack Source\HelixToolkit.Wpf\HelixToolkit.Wpf.nuspec -OutputDirectory Packages
- cmd: NuGet.exe pack Source\HelixToolkit.Wpf.SharpDX\HelixToolkit.Wpf.Sharpdx.nuspec -OutputDirectory Packages
- cmd: for %%G in (Packages\*.nupkg) do NuGet.exe push %%G %nuget_api_key%
artifacts:
- path: Output
name: HelixToolkit-$(APPVEYOR_BUILD_VERSION)
type: zip
- path: Packages\*.nupkg