From: Adam Dickmeiss Date: Mon, 16 Jun 2014 13:59:45 +0000 (+0000) Subject: Add IDMETA + mkdist.sh X-Git-Tag: v0.1~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=50ec8f654a469d68dddd3741fac7c2a93095db42;p=mp-xquery-moved-to-github.git Add IDMETA + mkdist.sh --- diff --git a/IDMETA b/IDMETA new file mode 100644 index 0000000..f05f70b --- /dev/null +++ b/IDMETA @@ -0,0 +1,4 @@ +NAME=mp-xquery +CENTOS_DIST="centos6" +VERSION=0.1 +ARCHS=amd64 diff --git a/mkdist.sh b/mkdist.sh new file mode 100755 index 0000000..fbcf90a --- /dev/null +++ b/mkdist.sh @@ -0,0 +1,16 @@ +#!/bin/sh +. ./IDMETA +set -x +git log >ChangeLog +git archive --format=tar --prefix=$NAME-$VERSION/ HEAD > $NAME-$VERSION.tar +tar xf $NAME-$VERSION.tar +cp ChangeLog $NAME-$VERSION +cd $NAME-$VERSION +rm -fr debian +cd .. +tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION +rm $NAME-$VERSION.tar +rm -r $NAME-$VERSION +exit 0 + +