commit | ca7e8a6650d324835c91414a4cd04073283e1a4c | [log] [tgz] |
---|---|---|
author | AlexanderSaydakov <AlexanderSaydakov@users.noreply.github.com> | Tue Jun 18 12:46:35 2019 -0700 |
committer | AlexanderSaydakov <AlexanderSaydakov@users.noreply.github.com> | Tue Jun 18 12:46:35 2019 -0700 |
tree | 0f5a96434037a115fee18b661084e1f237b7b343 | |
parent | b2783cf50ffe2268aaab1d85223087efd5744494 [diff] |
check if version is specified, cleanup
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 @@ unzip $COREARCH -d $COREDIR zip -r $DST.zip $DST + +rm $PGARCH $COREARCH +rm -r $DST