-
Notifications
You must be signed in to change notification settings - Fork 1
/
create_nuget_package.cmd
38 lines (32 loc) · 2.68 KB
/
create_nuget_package.cmd
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
@echo off
rmdir NuGetPackage /s /q
mkdir NuGetPackage
mkdir NuGetPackage\Epicycle.Graphics-cs.0.1.7.0
mkdir NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib
copy package.nuspec NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\Epicycle.Graphics-cs.0.1.7.0.nuspec
copy README.md NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\README.md
copy LICENSE NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\LICENSE
xcopy bin\net35\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.dll NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net35\
xcopy bin\net35\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.pdb NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net35\
xcopy bin\net35\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.xml NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net35\
xcopy bin\net35\Release\Epicycle.Graphics_cs.dll NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net35\
xcopy bin\net35\Release\Epicycle.Graphics_cs.pdb NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net35\
xcopy bin\net35\Release\Epicycle.Graphics_cs.xml NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net35\
xcopy bin\net40\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.dll NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net40\
xcopy bin\net40\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.pdb NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net40\
xcopy bin\net40\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.xml NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net40\
xcopy bin\net40\Release\Epicycle.Graphics_cs.dll NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net40\
xcopy bin\net40\Release\Epicycle.Graphics_cs.pdb NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net40\
xcopy bin\net40\Release\Epicycle.Graphics_cs.xml NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net40\
xcopy bin\net45\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.dll NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net45\
xcopy bin\net45\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.pdb NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net45\
xcopy bin\net45\Release\Epicycle.Graphics.Platform.SystemDrawing_cs.xml NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net45\
xcopy bin\net45\Release\Epicycle.Graphics_cs.dll NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net45\
xcopy bin\net45\Release\Epicycle.Graphics_cs.pdb NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net45\
xcopy bin\net45\Release\Epicycle.Graphics_cs.xml NuGetPackage\Epicycle.Graphics-cs.0.1.7.0\lib\net45\
cd NuGetPackage
nuget pack Epicycle.Graphics-cs.0.1.7.0\Epicycle.Graphics-cs.0.1.7.0.nuspec -Properties version=0.1.7.0
7z a -tzip Epicycle.Graphics-cs.0.1.7.0.zip Epicycle.Graphics-cs.0.1.7.0 Epicycle.Graphics-cs.0.1.7.0.nupkg
echo nuget push Epicycle.Graphics-cs.0.1.7.0.nupkg > push.cmd
echo pause >> push.cmd
pause