That's how we do a release:

1.  For a patch level release skip 1. and 2. and start with 3.

    For a new major or minor release create a release branch based on
    the version number for the new release.
    
    If the next release will have the version 0.1.0 create a 0.1.x
    branch from trunk with the commit message: "created 0.1.x release
    branch."
             
2.  Increase the version number on trunk in sublib/version.in.h and
    configure.ac. In case of the 0.1.0 example increase it to 0.2.0.
    Commit.

3.  Add a new entry to the CHANGES file on trunk for the new release.
    In our example 0.1.0 or 0.1.n in case of a patch release. Fill up
    the CHANGES entry.
    Commit.

4.  Update website (index.html/history.html) on trunk.
    Do not commit! See the last few steps.

5.  Create a working copy from the release branch. In our example from
    branches/0.1.x.

6.  In case of a patch release merge fixes and changes from trunk.
    Commit.

7.  Merge the CHANGES file into the release branch. In our example the
    0.1.x release branch.
    Commit.

8.  Create a tag from the release branch with the commit message:
    "created 0.1.0 release tag."
             
9.  Switch the branch working copy to the created tag. Run gen_version.h
    -n (maybe add special build text).

10. create source zip and tgz of the tag working copy.

    export tag, copy version.out.h to exported folder. We do not want
    a wc as source archive!
    
    extra step for unix/linux:
    
    run ./gen_ac.sh
    rm -rf autom4te.cache
    
    subcommander-x.y.z-src.zip
    subcommander-x.y.z-src.tgz

11. build tag working copy and create win32 installer.

    needed files:
    
    locale   
    icons
    iconv
    libdb42.dll
    libeay32.dll
    ssleay32.dll
    qt-mtnc321.dll
    msvcr71.dll
    msvcp71.dll
    dbghelp.dll
    
12. Increase the version number in version.in.h on the release branch.
    Commit.
    
    In the 0.1.0 example increase the version number on the 0.1.x branch
    to 0.1.1. 

13. Upload srczip and tgz and the win32 installer.

14. Commit updated Website on trunk.
    -> goes Online.

15. Add project announcement at subcommander.tigris.org and send release
    email to dev/announce mailing lists.

    Done, finally !!!
