Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[5a44bd]: doc / cheatsheets / making_a_release Maximize Restore History

Download this file

making_a_release    76 lines (54 with data), 2.1 kB

All code/doc changes should be committed.

To get the svn revision of the previous release:

$ svn log https://pyke.svn.sourceforge.net/svnroot/pyke/tags

Do "svn log" to see what's changed:

$ svn log -r 48:HEAD https://pyke.svn.sourceforge.net/svnroot/pyke/trunk

Write: RELEASE_NOTES-0.1.alpha2

FILES TO CHANGE:
    - README
        Read through to see if anything has changed.  The following lines
        will always change:
        - line  3: Version: 0.1.alpha2
        - line 23:     pyke_doc_html-0.1.alpha2.tar.gz
        - line 60:     pyke-0.1.alpha2-py2.5.egg
        - line 67:     pyke-0.1.alpha2.tar.gz
        - line 72: Add any new examples
    - setup.py
        - line 11:     version = "0.1.alpha2",
        - line 35:         "http://downloads.sourceforge.net/..."
    - pyke/__init__.py
        - line 36: version = '0.1.alpha2'

COMMIT SVN UPDATES

BUILD RELEASE

$ rm -rf build
$ python setup.py bdist_egg sdist
$ ./make_doc_tarball dist/pyke_doc_html-0.1.alpha2.tar.gz

TAG RELEASE

$ svn copy https://pyke.svn.sourceforge.net/svnroot/pyke/trunk \
           https://pyke.svn.sourceforge.net/svnroot/pyke/tags/0.1.alpha2

UPLOAD DIST FILES TO SOURCEFORGE:

$ cd dist
$ ftp upload.sourceforge.net
Name: anonymous
Password: mtnyogi
ftp> binary
ftp> cd incoming
ftp> mput *
ftp> quit

Go to: Admin -> File Releases
Click on "Add Release", Enter: 0.1.alpha2
Follow the rest of the instructions there...
    After you've selected the files to include, you have to go through
    settings for each file ONE AT A TIME.  (Each file has its own Update
    button which erases any information you've entered for subsequent files).
    Pick "Platform Independant" for all of the files.
    Pick ".zip" for the .egg file.
    Pick "Source .gz" for the source .gz file.
    Pick ".gz" for the doc .gz file.

UPDATE PYPI LINK:

$ python setup.py register

ADD NEW RELEASE TO SOURCEFORGE TRACKERS:

    Admin -> Tracker -> "Tracker Administration" link

    Do: Bugs, Support Requests, and Patches

CREATE NEWS ANNOUNCEMENT ON SOURCEFORGE

Go to: Admin -> News