-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathNetSparklePackNuget.cmd
More file actions
37 lines (29 loc) · 943 Bytes
/
NetSparklePackNuget.cmd
File metadata and controls
37 lines (29 loc) · 943 Bytes
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
@echo off
echo Cleanup NuGet environment
rmdir /S /Q Nuget\lib
rmdir /S /Q Nuget\content
rmdir /S /Q Nuget\tools
echo Create NuGet tree
mkdir Nuget\lib
mkdir Nuget\content
mkdir Nuget\content\Extras
mkdir Nuget\tools
echo Copy Buildoutput to Nuget dir
xcopy /s /q NetSparkle\Release\lib\net40-full\* Nuget\lib\net40-full\
del /q Nuget\lib\*.pdb
xcopy /s /q NetSparkleChecker\bin\Release\* Nuget\content\
xcopy /s /q NetSparkleDSAHelper\bin\Release Nuget\content\
xcopy /s /q NetSparkle\trunk\Extras\* Nuget\content\Extras\
del /q Nuget\content\*.config
del /q Nuget\content\*.pdb
del /q Nuget\content\*.manifest
del /q Nuget\content\*.dll
del /q Nuget\content\*.vshost.*
echo Moving to release directory
cd Nuget\Content
echo Packing nuget package
..\nuget pack ..\NetSparkle.nuspec -Version %1
echo Pushing nuget package
..\nuget Push AppLimit.NetSparkle.%1.nupkg
echo Leaving directories
cd ..\..