aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-01-29 16:30:58 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-01-29 16:55:53 -0800
commit8e90ca1ae9c216d88b625a3cf710ec6748cf9247 (patch)
tree030240220aed2b8a86498ce0f93cbeb577b67832 /src
parented00b0366d9022bdfe47bbf4c0b4bff1bf03d195 (diff)
create a .zip file with nuget packages
Diffstat (limited to 'src')
-rw-r--r--src/csharp/build_packages.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/csharp/build_packages.bat b/src/csharp/build_packages.bat
index 7a34bf3fd6..e423545ef8 100644
--- a/src/csharp/build_packages.bat
+++ b/src/csharp/build_packages.bat
@@ -49,6 +49,10 @@ endlocal
@rem copy resulting nuget packages to artifacts directory
xcopy /Y /I *.nupkg ..\..\artifacts\
+@rem create a zipfile with the artifacts as well
+powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('..\..\artifacts', 'csharp_nugets.zip');"
+xcopy /Y /I csharp_nugets.zip ..\..\artifacts\
+
goto :EOF
:error