aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/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 /templates/src
parented00b0366d9022bdfe47bbf4c0b4bff1bf03d195 (diff)
create a .zip file with nuget packages
Diffstat (limited to 'templates/src')
-rw-r--r--templates/src/csharp/build_packages.bat.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/src/csharp/build_packages.bat.template b/templates/src/csharp/build_packages.bat.template
index bf831a9e3b..3af66b3f3c 100644
--- a/templates/src/csharp/build_packages.bat.template
+++ b/templates/src/csharp/build_packages.bat.template
@@ -51,6 +51,10 @@
@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