Memorandum of How To Release.

1. update version number.

  - build.xml
     <property name="version" value="0.1.2"/>

  - installer/win32/samurai-graph-win32-inst.nsi
     !define SG_VER_MAJOR "0"
     !define SG_VER_MINOR "1"
     !define SG_VER_MICRO "2"

  - installer/mac/build.sh
     VERSION=0.1.2

  - installer/mac/resources/bundler/Info.plist
     <key>CFBundleVersion</key>
     <string>0.1.2</string>
     <key>CFBundleShortVersionString</key>
     <string>0.1</string>
     <key>CFBundleGetInfoString</key>
     <string>Samurai Graph 0.1.2, Copyright (c) 2004 RIKEN (The Institute of Physical and Chemical Research)</string>

  - installer/mac/resources/bundler/version.plist
     <key>BuildVersion</key>
     <string>1</string>
     <key>CFBundleShortVersionString</key>
     <string>0.1</string>
     <key>CFBundleVersion</key>
     <string>0.1.2</string>
     <key>SourceVersion</key>
     <string>RELEASE_0_1_2</string>

  - src/resources/About.html
     Samurai Graph 0.1.2

  - src/jp/riken/brain/ni/samuraigraph/base/SGDefaultValues.java
     public static final String VERSION_NUMBER = "0.1.2";

2. commit version updated sources.
  % cvs commit

3. add tag to CVS repository.
  % cvs tag RELEASE_0_1_2

4. rebuild binaries.
  % ./build.sh rebuild

5. create os specific installer
  Windows:
    run NSIS 2.0 compiler.
     - installer/win32/samurai-graph-wiwn32-inst.nsi
  MacOS X:
    create disk image distribution file
    % cd installer/mac
    % ./build.sh
