[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

/ -> release.sh (source)

   1  #!/bin/sh
   2  set -e
   3  set -x
   4  app=eventum
   5  rc=RC1
   6  svn=svn://eventum.mysql.org/eventum-gpl/trunk/eventum
   7  dir=$app
   8  
   9  # checkout
  10  rm -rf $dir
  11  svn export $svn $dir
  12  
  13  # tidy up
  14  cd $dir
  15  version=$(awk -F"'" '/APP_VERSION/{print $4}' init.php)
  16  make -C misc/localization
  17  chmod -R a+rwX templates_c locks logs config
  18  rm -f release.sh
  19  
  20  # sanity check
  21  find -name '*.php' | xargs -l1 php4 -l
  22  find -name '*.php' | xargs -l1 php -l
  23  cd -
  24  
  25  # make tarball and md5 checksum
  26  rm -rf $app-$version
  27  mv $dir $app-$version
  28  tar -czf $app-$version$rc.tar.gz $app-$version
  29  rm -rf $app-$version
  30  md5sum -b $app-$version$rc.tar.gz > $app-$version$rc.tar.gz.md5


Generated: Wed Dec 19 21:21:33 2007 Cross-referenced by PHPXref 0.7