diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-01-29 16:30:58 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-01-29 16:55:53 -0800 |
commit | 8e90ca1ae9c216d88b625a3cf710ec6748cf9247 (patch) | |
tree | 030240220aed2b8a86498ce0f93cbeb577b67832 /templates/src | |
parent | ed00b0366d9022bdfe47bbf4c0b4bff1bf03d195 (diff) |
create a .zip file with nuget packages
Diffstat (limited to 'templates/src')
-rw-r--r-- | templates/src/csharp/build_packages.bat.template | 4 |
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 |