Differences between revisions 9 and 10
Revision 9 as of 2007-07-23 05:38:27
Size: 2374
Comment:
Revision 10 as of 2007-08-02 07:41:41
Size: 2293
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
  1. constants.txt
Line 26: Line 27:
  1. index.txt - version number and download location
  1. installation.txt - installer file name, download location

  1. userfaq.txt - current status, download link
  1. index.txt - version number
  1. userfaq.txt - current status

These are just some rough notes on the steps needed to make a full release of Jython. I generally run ant full-build as a test beforehand, as well as testing many of these steps throughout, but since that isn't strictly necessary I'm not including it here. full-build requires all of the optional jars for the build be available and named in ant.properties. See build.xml for more information.

  1. Update files in trunk that have information on the current version
    1. PySystemState.java - version and PY_RELEASE_SERIAL at least. Also PY_RELEASE_LEVEL, PY_MICRO_VERSION, PY_MINOR_VERSION and PY_MAJOR_VERSION depending on the level of version bumpage.

    2. build.xml - <property name="svn.tag", <property name="jython.version", and make values in <target name="version" match PySystemState.

    3. NEWS
    4. README
  2. Run regrtest and the bugtests
  3. Copy trunk and installer to a tag
    1. svn mkdir https://jython.svn.sourceforge.net/svnroot/jython/tags/Release_2_2rc2

    2. svn cp https://jython.svn.sourceforge.net/svnroot/jython/trunk/jython https://jython.svn.sourceforge.net/svnroot/jython/tags/Release_2_2rc2

    3. svn cp https://jython.svn.sourceforge.net/svnroot/jython/trunk/installer https://jython.svn.sourceforge.net/svnroot/jython/tags/Release_2_2rc2

  4. build from tag
    1. svn co tag release_checkout
    2. cp ant.properties into release_checkout/jython
    3. ant full-build in release_checkout/jython
  5. upload installer
    1. go to Admin/File Release on sourceforge
    2. Click on Add release next to the jython package
    3. create with a name in line with the version like 2.2rc1
    4. ftp the built installer as on http://sourceforge.net/docman/display_doc.php?docid=6445&group_id=1#upload

    5. associate the uploaded file with the new release
  6. update files in the website that reference the current release
    1. constants.txt
    2. news.txt
    3. download.txt
    4. index.txt - version number
    5. userfaq.txt - current status
  7. upload maven package
    1. ant -Dproject.version=2.2-rc1 in jython/maven
    2. scp dist/jython-2.2-rc1-bundle.jar shell.sf.net:/home/groups/j/jy/jython/htdocs
    3. File a jira issue for the upload as described in "Posting the request" on http://maven.apache.org/guides/mini/guide-central-repository-upload.html

HowToReleaseJython (last edited 2010-10-20 05:57:29 by Oti)