X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=rrdtool-1.2-release;h=b9d482fff5428942f3829b913e69d5b83e75961d;hb=3cd42d089914e0f63f97aa0369e674c7c19115cf;hp=e47284c736f03e1fbf568865d68728e960a5d57b;hpb=cc3b78d4333659b2963c5e5c0765be77573ac4a4;p=rrdtool.git diff --git a/rrdtool-1.2-release b/rrdtool-1.2-release index e47284c..b9d482f 100755 --- a/rrdtool-1.2-release +++ b/rrdtool-1.2-release @@ -1,7 +1,5 @@ #!/bin/sh set -e -PATH=/usr/sepp/bin:/usr/bin:/sbin:/usr/sbin:/usr/sepp/bin:/home/oetiker/bin -export PATH VERSION=`perl -n -e 'm/\QAC_INIT([rrdtool],[\E(.+?)\Q])\E/ && print $1' configure.ac` PERLVERS=`perl -n -e 'm/NUMVERS=(\d+\.\d+)/ && print $1' configure.ac` set -x @@ -14,13 +12,13 @@ echo "Tagging and releasing rrdtool $VERSION ($PERLVERS). Press any Key to conti read somekey svn commit -m "prepare for the release of rrdtool-$VERSION" mkdir /tmp/rrdtool-$$ +OPWD=`pwd` cd /tmp/rrdtool-$$ -svn checkout svn://svn.ee.ethz.ch/rrdtool/branches/1.2/program . -svn log --stop-on-copy --xml --verbose svn://svn.ee.ethz.ch/rrdtool/branches/1.2/program | \ - xsltproc --stringparam strip-prefix branches/1.2/program /home/oetiker/data/svn-checkout/rrdtool/branches/1.2/program/svn2cl.xsl - >CHANGES -cp CHANGES /home/oetiker/public_html/webtools/rrdtool/pub/ +svn checkout svn://svn.oetiker.ch/rrdtool/branches/1.2/program . +svn log --stop-on-copy --xml --verbose svn://svn.oetiker.ch/rrdtool/branches/1.2/program | \ + xsltproc --stringparam strip-prefix branches/1.2/program $OPWD/svn2cl.xsl - >CHANGES sh MakeMakefile -PKG_CONFIG_PATH=/usr/pack/rrdtool-1.2svn-to/sun4u-sun-solaris2.8/lib/pkgconfig/ +PKG_CONFIG_PATH=/usr/pack/rrdtool-1.2svn-to/i686-debian-linux3.1/lib/pkgconfig/ export PKG_CONFIG_PATH ./configure gmake dist @@ -31,9 +29,9 @@ cd rrdtool-$VERSION gmake src/rrdtool cd .. -cp rrdtool*.tar.gz /home/oetiker/public_html/webtools/rrdtool/pub/ +scp CHANGES rrdtool*.tar.gz oposs@james:public_html/rrdtool/pub/ (cd /home/oetiker/public_html/webtools/rrdtool/pub/;rm rrdtool.tar.gz;ln -s rrdtool-$VERSION.tar.gz rrdtool.tar.gz) cd .. rm -rf rrdtool-$$ -svn copy -m "tagging version $VERSION" svn://svn.ee.ethz.ch/rrdtool/branches/1.2/program svn://svn.ee.ethz.ch/rrdtool/tags/$VERSION +svn copy -m "tagging version $VERSION" svn://svn.oetiker.ch/rrdtool/branches/1.2/program svn://svn.oetiker.ch/rrdtool/tags/$VERSION