X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=rrdtool-1.2-release;h=83b02740ef9b7bd280432bf54e358f607491bbc3;hb=eb74f6c75f230973f9dc08f80882c103804b2f10;hp=7e6a1fb6f24a71eaab15fe79689429b50f91f57b;hpb=45c38128cd4abbf5a99b4525ad2351e363ef687a;p=rrdtool.git diff --git a/rrdtool-1.2-release b/rrdtool-1.2-release index 7e6a1fb..83b0274 100755 --- a/rrdtool-1.2-release +++ b/rrdtool-1.2-release @@ -1,7 +1,5 @@ #!/bin/sh set -e -PATH=/usr/bin:/sbin:/usr/sbin:/usr/ccs/bin:/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,26 +12,26 @@ 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 +make dist # do a test build -gtar zxvf rrdtool*.tar.gz +tar zxvf rrdtool*.tar.gz cd rrdtool-$VERSION ./configure -gmake +make 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