Skip to content

Commit

Permalink
check if version is specified, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSaydakov committed Jun 18, 2019
1 parent b2783cf commit ca7e8a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,3 +26,6 @@ mkdir $COREDIR
unzip $COREARCH -d $COREDIR

zip -r $DST.zip $DST

rm $PGARCH $COREARCH
rm -r $DST

0 comments on commit ca7e8a6

Please sign in to comment.