Memorandum of How To Release.

1. update change logs.
  - update product.xml in web resources 'web/htdocs/product.xml'.
  - run synchronization script.
    % cd src/changelog
    % ./make.sh  (make.bat)

2. 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/application/SGDrawingServer.java
	public static final int MAJOR_VERSION_NUMBER = 0;
	public static final int MINOR_VERSION_NUMBER = 1;
	public static final int MICRO_VERSION_NUMBER = 2;

3. commit version updated sources.
  % cvs commit

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

5. rebuild binaries.
  % ./build.sh rebuild

6. 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 build
