1661
Comment:
|
← Revision 30 as of 2010-10-20 05:57:29 ⇥
3050
add jysite.py to the files that need updates
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from JythonDeveloperGuide/HowToReleaseJython | |
Line 4: | Line 5: |
1. PySystemState.java 1. build.xml 1. NEWS |
1. build.xml - update properties jython.version, version.noplus, jython.major_version, jython.minor_version, jython.micro_version, jython.release_level, and jython.release_serial. 1. imp.java - If there has been any compiler change, increment magic number APIVersion. 1. NEWS (double check with the bug tracker) |
Line 8: | Line 9: |
1. Copy trunk and installer to a tag 1. make svn tag dir 1. svn cp trunk/jython into tag dir 1. svn cp trunk/installer into tag dir |
1. Run regrtest and the bugtests 1. Copy maint to a tag 1. svn cp https://jython.svn.sourceforge.net/svnroot/jython/branches/Release_2_2maint https://jython.svn.sourceforge.net/svnroot/jython/tags/Release_2_2_1 |
Line 13: | Line 13: |
1. svn co tag release_checkout 1. cp ant.properties into release_checkout/jython 1. ant full-build in release_checkout/jython |
1. "svn up" to get the revision number incremented by the tagging above. 1. set local properties in ant.properties, mine for 2.5.1rc1: * informix.jar=${basedir}/extlibs/ifxjdbc.jar * oracle.jar=${basedir}/extlibs/ojdbc14.jar * svn.revision=6742 * svn.main.dir=tags/Release_2_5_1rc1 * jython.version=2.5.1 * jython.version.noplus=2.5.1 1. ant full-build |
Line 17: | Line 23: |
1. go to Admin/File Release on sourceforge | 1. go to Project Admin>Feature Settings>File Release on sourceforge |
Line 20: | Line 26: |
1. ftp the built installer as on http://sourceforge.net/docman/display_doc.php?docid=6445&group_id=1#upload | 1. upload the built installer https://frs.sourceforge.net/webupload as documented on http://apps.sourceforge.net/trac/sitedocs/wiki/Release%20files%20for%20download |
Line 22: | Line 28: |
1. also update the Source``Forge News page (announcement can be added in Admin/News/Submit) | |
Line 23: | Line 30: |
1. news.txt 1. download.txt 1. index.txt 1. installation.txt 1. userfaq.txt |
1. index.txt - news and link to the new download 1. redirects/downloads.txt - link to the new download, checksums (from file properties in the SF file manager) 1. redirects/latest.txt - a copy of NEWS 1. redirect/constants.txt - if there is a new stable release 1. jysite.py - update the site template for docutils 1. building and uploading of the website is described in README.txt |
Line 32: | Line 40: |
1. other actions after publishing 1. change the #jython irc channel topic 1. announce on twitter (as jython), irc channel, mailing lists, blog ... 1. add a new level in the bug tracker 1. update build.xml for trunk again |
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.
- Update files in trunk that have information on the current version
- build.xml - update properties jython.version, version.noplus, jython.major_version, jython.minor_version, jython.micro_version, jython.release_level, and jython.release_serial.
- imp.java - If there has been any compiler change, increment magic number APIVersion.
- NEWS (double check with the bug tracker)
- README
- Run regrtest and the bugtests
- Copy maint to a tag
- build from tag
- "svn up" to get the revision number incremented by the tagging above.
- set local properties in ant.properties, mine for 2.5.1rc1:
- informix.jar=${basedir}/extlibs/ifxjdbc.jar
- oracle.jar=${basedir}/extlibs/ojdbc14.jar
- svn.revision=6742
- svn.main.dir=tags/Release_2_5_1rc1
- jython.version=2.5.1
- jython.version.noplus=2.5.1
- ant full-build
- upload installer
go to Project Admin>Feature Settings>File Release on sourceforge
- Click on Add release next to the jython package
- create with a name in line with the version like 2.2rc1
upload the built installer https://frs.sourceforge.net/webupload as documented on http://apps.sourceforge.net/trac/sitedocs/wiki/Release%20files%20for%20download
- associate the uploaded file with the new release
also update the SourceForge News page (announcement can be added in Admin/News/Submit)
- update files in the website that reference the current release
- index.txt - news and link to the new download
- redirects/downloads.txt - link to the new download, checksums (from file properties in the SF file manager)
- redirects/latest.txt - a copy of NEWS
- redirect/constants.txt - if there is a new stable release
- jysite.py - update the site template for docutils
- building and uploading of the website is described in README.txt
- upload maven package
- ant -Dproject.version=2.2-rc1 in jython/maven
- scp dist/jython-2.2-rc1-bundle.jar shell.sf.net:/home/groups/j/jy/jython/htdocs
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
- other actions after publishing
- change the #jython irc channel topic
- announce on twitter (as jython), irc channel, mailing lists, blog ...
- add a new level in the bug tracker
- update build.xml for trunk again