From: Adam Dickmeiss Date: Wed, 8 Oct 2014 07:09:22 +0000 (+0200) Subject: mkdist does not read debian/changelog anymore X-Git-Tag: v1.1.8~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3994621814a569ec4b58a9f991c6aaa7cf6f72cd;p=phpyaz-moved-to-github.git mkdist does not read debian/changelog anymore --- diff --git a/mkdist.sh b/mkdist.sh index bec7cbc..8ed8caa 100755 --- a/mkdist.sh +++ b/mkdist.sh @@ -1,21 +1,11 @@ #!/bin/sh set -x -DEBCHANGELOG=debian/changelog - -l=`head -1 $DEBCHANGELOG` -NAME=`echo $l|sed 's/ .*//g'` -FULLVERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'` -DEBVERSION=`echo $FULLVERSION|sed 's/-.*//g'` . ./IDMETA -if test "$DEBVERSION" != "$VERSION"; then - echo "WARNING: File VERSION and debian/changelog do not match" - sleep 2 -fi 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 +cd $NAME-$VERSION rm -fr debian cd .. tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION