From 50ec8f654a469d68dddd3741fac7c2a93095db42 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 16 Jun 2014 13:59:45 +0000 Subject: [PATCH] Add IDMETA + mkdist.sh --- IDMETA | 4 ++++ mkdist.sh | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 IDMETA create mode 100755 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 + + -- 1.7.10.4