script to prepare PGXN bundle
diff --git a/package.sh b/package.sh
new file mode 100755
index 0000000..e44acaa
--- /dev/null
+++ b/package.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+VER=$1
+
+DST=datasketches-$VER
+
+PGARCH=postgres-$VER.zip
+COREARCH=core-$VER.zip
+
+rm -rf $DST
+rm $DST.zip
+
+git archive --format zip --prefix=$DST/ --output $PGARCH master
+cd ../sketches-core-cpp
+git archive --format zip --output ../sketches-postgres/$COREARCH master
+cd ../sketches-postgres
+
+unzip $PGARCH
+COREDIR=$DST/sketches-core-cpp
+mkdir $COREDIR
+unzip $COREARCH -d $COREDIR
+
+zip -r $DST.zip $DST