DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:release

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devel:release [2011-04-22 22:53] – [build script] andidevel:release [2011-06-29 16:54] (current) – removed adrianlang
Line 1: Line 1:
-====== Building a new Stable Release ====== 
- 
-The following steps have to be taken for building a new release. 
- 
-  - push the current ''stable'' branch to the ''oldstable'' branch 
-  - run [[devel:unittesting|unit tests]] 
-  - prepare a [[devel:todo]] of bugs to be fixed 
-  - find a code name 
-    * [[http://wiki.lspace.org/wiki/List_of_Pratchett_characters|Discworld Character]] 
-    * 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 
-    * <code>git diff stable..HEAD --summary |grep  '^ delete'|awk '{print $4}'|grep -v VERSION</code> 
-    * add them to ''data/deleted.files'' 
-    * add them to [[install:upgrade]] 
-  - push the release preparations above to the ''master'' branch 
-  - merge git ''master'' branch into the ''stable'' 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 ===== 
- 
-<code bash 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" 
-</code> 
  
devel/release.1303505637.txt.gz · Last modified: 2011-04-22 22:53 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki