[maven-release-plugin] prepare for next development iteration
[yaz4j-moved-to-github.git] / mkdist.sh
index 3afe151..056bf6f 100755 (executable)
--- a/mkdist.sh
+++ b/mkdist.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-V=1.1
-git archive --format=tar --prefix=yaz4j-$V/ v$V |gzip >yaz4j-$V.tar.gz
+. ./IDMETA
+
+git archive --format=tar --prefix=$NAME-$VERSION/ HEAD |gzip >$NAME-$VERSION.tar.gz