File tree Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 0.5.0.{build}
2
+ configuration : Release
3
+ dotnet_csproj :
4
+ patch : true
5
+ file : ' **\*.csproj'
6
+ version : ' {version}'
7
+ package_version : ' {version}'
8
+ assembly_version : ' {version}'
9
+ file_version : ' {version}'
10
+ informational_version : ' {version}'
11
+ build_script :
12
+ - cmd : >-
13
+ build_all.bat
14
+ artifacts :
15
+ - path : src/NvgSharp/bin/MonoGame/Release/NvgSharp.MonoGame.$(appveyor_build_version).nupkg
16
+ name : NvgSharp.MonoGame.nupkg
17
+
18
+ - path : src/NvgSharp/bin/FNA/Release/NvgSharp.FNA.$(appveyor_build_version).nupkg
19
+ name : NvgSharp.FNA.nupkg
20
+
21
+ - path : NvgSharp.$(appveyor_build_version).zip
22
+ name : ZipPackage
23
+ deploy :
24
+ - provider : GitHub
25
+ release : $(appveyor_build_version)
26
+ description : $(appveyor_build_version)
27
+ auth_token :
28
+ secure : nIpZ5N6iQIXVV8/kK/Y6BqY4KYD+y7HYdq+vTKv+LqZBbxHE9BuEgZAHGVDvmJKh
29
+ artifact : ZipPackage
30
+ draft : false
31
+ prerelease : false
32
+
33
+ - provider : NuGet
34
+ api_key :
35
+ secure : o02Abc+1Pg/C7FVPnbCA9i4RIakmOUcKjMBBCHDCbEhS69b+N05mV0xBe0ne2/Y4
36
+ artifact : /.*\.nupkg/
Original file line number Diff line number Diff line change
1
+ dotnet --version
2
+ dotnet build build\Monogame\NvgSharp.sln /p:Configuration=Release --no-incremental
3
+ dotnet build build\FNA\NvgSharp.sln /p:Configuration=Release --no-incremental
4
+ call copy_zip_package_files.bat
5
+ rename " ZipPackage" " NvgSharp.%APPVEYOR_BUILD_VERSION% "
6
+ 7z a NvgSharp.%APPVEYOR_BUILD_VERSION% .zip NvgSharp.%APPVEYOR_BUILD_VERSION%
Original file line number Diff line number Diff line change
1
+ rem delete existing
2
+ rmdir " ZipPackage" /Q /S
3
+
4
+ rem Create required folders
5
+ mkdir " ZipPackage"
6
+ mkdir " ZipPackage\MonoGame"
7
+ mkdir " ZipPackage\FNA"
8
+
9
+ set " CONFIGURATION = Release\net45"
10
+
11
+ rem Copy output files
12
+ copy " src\NvgSharp\bin\MonoGame\%CONFIGURATION% \NvgSharp.dll" " ZipPackage\MonoGame" /Y
13
+ copy " src\NvgSharp\bin\MonoGame\%CONFIGURATION% \NvgSharp.pdb" " ZipPackage\MonoGame" /Y
14
+ copy " src\NvgSharp\bin\FNA\%CONFIGURATION% \NvgSharp.dll" " ZipPackage\FNA" /Y
15
+ copy " src\NvgSharp\bin\FNA\%CONFIGURATION% \NvgSharp.pdb" " ZipPackage\FNA" /Y
You can’t perform that action at this time.
0 commit comments