Add a meta-script to build a new buck release
Change-Id: I68673f9afc52fdf033ba2c71ebacfd071404693a
diff --git a/tools/build/buck-publish-package b/tools/build/buck-publish-package
index 61a10fd..fe32d8f 100755
--- a/tools/build/buck-publish-package
+++ b/tools/build/buck-publish-package
@@ -44,9 +44,11 @@
zip -r ../$BUCK_ZIP buck .buck_version plugins
popd #$ZIP_STAGE
-# publish zip
-#FIXME check for s3 credentials
-uploadToS3.py --dest third-party/ $BUCK_ZIP
+if [ "$1" -ne "--dry-run" ]; then
+ # publish zip
+ #FIXME check for s3 credentials
+ uploadToS3.py --dest third-party/ $BUCK_ZIP
+fi
# update version in onos-buck
URL="$DOWNLOAD_BASE/$BUCK_ZIP"