@@ -171,7 +171,10 @@ function src-dist {
171
171
links -dump $RABBIT_WEBSITE /build-dotnet-client.html >> tmp/srcdist/README
172
172
cp-license-to tmp/srcdist/
173
173
174
- # ## Zip tmp/srcdist
174
+ # ## Zip tmp/srcdist making $NAME_VSN the root dir in the archive
175
+ mv tmp/srcdist tmp/$NAME_VSN
176
+ mkdir tmp/srcdist
177
+ mv tmp/$NAME_VSN tmp/srcdist/
175
178
cd tmp/srcdist
176
179
zip -r ../../$RELEASE_DIR /$NAME_VSN .zip . -x \* .snk \* .resharper \* .csproj.user
177
180
cd ../..
@@ -212,15 +215,9 @@ function dist-target-framework {
212
215
213
216
# ## Copy bin files to be zipped to tmp/dist/
214
217
cp projects/client/RabbitMQ.Client/build/bin/RabbitMQ.Client.dll tmp/dist/bin/
215
- cp projects/examples/client/AddClient/build/bin/AddClient.exe tmp/dist/bin/
216
- cp projects/examples/client/AddServer/build/bin/AddServer.exe tmp/dist/bin/
217
- cp projects/examples/client/DeclareQueue/build/bin/DeclareQueue.exe tmp/dist/bin/
218
- cp projects/examples/client/ExceptionTest/build/bin/ExceptionTest.exe tmp/dist/bin/
219
- cp projects/examples/client/LogTail/build/bin/LogTail.exe tmp/dist/bin/
220
- cp projects/examples/client/LowlevelLogTail/build/bin/LowlevelLogTail.exe tmp/dist/bin/
221
- cp projects/examples/client/SendMap/build/bin/SendMap.exe tmp/dist/bin/
222
- cp projects/examples/client/SendString/build/bin/SendString.exe tmp/dist/bin/
223
- cp projects/examples/client/SingleGet/build/bin/SingleGet.exe tmp/dist/bin/
218
+ for example in $( ls projects/examples/client) ; do
219
+ cp projects/examples/client/$example /build/bin/$example .exe tmp/dist/bin/
220
+ done
224
221
test " $BUILD_WCF " && cp projects/wcf/RabbitMQ.ServiceModel/build/bin/RabbitMQ.ServiceModel.dll tmp/dist/bin/
225
222
cp-license-to tmp/dist/
226
223
0 commit comments