devel:release
This is an old revision of the document!
Building a new Stable Release
The following steps have to be taken for building a new release.
- push the current
stable
branch to theoldstable
branch - run unit tests
- prepare a todo of bugs to be fixed
- find a code name
- add RC1 for release candidate
- prepare changes summary
- make sure the MD5 for
conf/dokuwiki.php
in the installer is correct; this includes- checking the MD5 value
- checking whether the installer fails
- increase the update_check msg number in
doku.php
- update list of deleted files
git diff stable..HEAD --summary |grep '^ delete'|awk '{print $4}'|grep -v VERSION
- add them to
data/deleted.files
- add them to upgrade
- push the release preparations above to the
master
branch - merge git
master
branch into thestable
branch - update the VERSION file in the
stable
branch- Format:
YYYY-MM-DD “code name”
- tag the release in the git
stable
branch - build the .tgz (See build script below)
- upload the .tgz (needs to be done by Andi currently)
- update release numbers in bugtracker (needs to be done by Andi or Adrian currently)
- change message in IRC (needs to be done by Andi currently)
- announce in fm, wikimatrix (needs to be done by Andi currently)
- announce in mailing list, forum, weping
- update update.splitbrain.org (needs to be done by Andi currently)
build script
- build.sh
#!/bin/sh BDIR=/home/andi/projects/buildplace cd $BDIR || exit rm -rf dokuwiki* git clone git://github.com/splitbrain/dokuwiki.git dokuwiki cd dokuwiki || exit git checkout -b stable origin/stable VERSION=`cat VERSION|awk {print $1}` rm -rf .gitignore rm -rf .git rm -rf _test rm -rf _cs rm -f test.php mkdir data/pages/playground echo "====== PlayGround ======" > data/pages/playground/playground.txt cd .. mv dokuwiki dokuwiki-$VERSION tar -czvf dokuwiki-$VERSION.tgz dokuwiki-$VERSION echo "now upload: $BDIR/dokuwiki-$VERSION.tgz"
devel/release.1303505432.txt.gz · Last modified: 2011-04-22 22:50 by andi