forked from rds1983/Myra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
62 lines (46 loc) · 1.78 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
version: 0.7.0.{build}
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
build_script:
- cmd: >-
git submodule update --init --recursive
cd Source
start /wait Myra-Dependencies\MonoGameSetup.exe /S /v/qn
msbuild Myra.sln /p:Configuration=Release /t:rebuild
msbuild Myra.FNA.sln /p:Configuration=Release /t:rebuild
nuget pack Myra\Myra.nuspec -Version %APPVEYOR_BUILD_VERSION%
nuget pack Myra\Myra.FNA.nuspec -Version %APPVEYOR_BUILD_VERSION%
nuget pack Myra.Editor\Myra.Editor.nuspec -Version %APPVEYOR_BUILD_VERSION%
nuget pack Myra.Editor\Myra.Editor.FNA.nuspec -Version %APPVEYOR_BUILD_VERSION%
copy_zip_package_files.bat
rename "ZipPackage" "Myra.%APPVEYOR_BUILD_VERSION%"
7z a Myra.%APPVEYOR_BUILD_VERSION%.zip Myra.%APPVEYOR_BUILD_VERSION%
artifacts:
- path: Source/Myra.$(appveyor_build_version).nupkg
name: Myra.nupkg
- path: Source/Myra.FNA.$(appveyor_build_version).nupkg
name: Myra.FNA.nupkg
- path: Source/Myra.Editor.$(appveyor_build_version).nupkg
name: Myra.Editor.nupkg
- path: Source/Myra.Editor.FNA.$(appveyor_build_version).nupkg
name: Myra.Editor.FNA.nupkg
- path: Source/Myra.$(appveyor_build_version).zip
name: ZipPackage
deploy:
- provider: GitHub
release: $(appveyor_build_version)
description: $(appveyor_build_version)
auth_token:
secure: nIpZ5N6iQIXVV8/kK/Y6BqY4KYD+y7HYdq+vTKv+LqZBbxHE9BuEgZAHGVDvmJKh
artifact: ZipPackage,MsiPackage
draft: false
prerelease: false
- provider: NuGet
api_key:
secure: o02Abc+1Pg/C7FVPnbCA9i4RIakmOUcKjMBBCHDCbEhS69b+N05mV0xBe0ne2/Y4
artifact: /.*\.nupkg/