This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git
The following commit(s) were added to refs/heads/master by this push:
new ca7e8a6 check if version is specified, cleanup
ca7e8a6 is described below
commit ca7e8a6650d324835c91414a4cd04073283e1a4c
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Tue Jun 18 12:46:35 2019 -0700
check if version is specified, cleanup
---
package.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package.sh b/package.sh
index eedfd8e..b9602a4 100755
--- a/package.sh
+++ b/package.sh
@@ -2,6 +2,11 @@
VER=$1
+if [ -z $1 ]; then
+ echo version must be specified: x.y.z
+ exit;
+fi
+
DST=datasketches-$VER
PGARCH=postgresql-$VER.zip
@@ -21,3 +26,6 @@ mkdir $COREDIR
unzip $COREARCH -d $COREDIR
zip -r $DST.zip $DST
+
+rm $PGARCH $COREARCH
+rm -r $DST
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]