977
Comment:
|
2163
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
These are just some rough notes on the steps I take to release Jython. | ## page was renamed from JythonDeveloperGuide/HowToReleaseJython 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. |
Line 3: | Line 4: |
1. Version bumps 1. PySystemState.java 1. build.xml 1. NEWS 1. README 1. Tag release 1. make svn tag dir 1. svn cp trunk/jython into tag dir 1. svn cp trunk/installer into tag dir 1. build from tag 1. svn co tag 1. cp ant.properties into release checkout/jython 1. ant full-build in release checkout/jython 1. upload build 1. go to Admin/File Release on sourceforge 1. Click on Add release next to the jython package 1. create with a name in line with the version like 2.2rc1 1. ftp the built installer as on http://sourceforge.net/docman/display_doc.php?docid=6445&group_id=1#upload 1. associate the uploaded file with the new release 1. update site 1. news.txt 1. download.txt 1. index.txt 1. installation.txt 1. userfaq.txt 1. upload maven package 1. ant -Dproject.version=2.2-rc1 in jython/maven 1. scp dist/jython-2.2-rc1-bundle.jar shell.sf.net:/ |
1. Update files in trunk that have information on the current version 1. build.xml - <property name="jython.version">. Also version.noplus, jython.major_version, jython.minor_version, jython.micro_version, and jython.release_serial. 1. imp.java - If there has been any compiler change, increment magic number APIVersion. 1. NEWS 1. README 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 1. build from tag 1. set svn.main.dir to tags/Release_2_2_1 in ant.properties 1. ant full-build 1. upload installer 1. go to Admin/File Release on sourceforge 1. Click on Add release next to the jython package 1. create with a name in line with the version like 2.2rc1 1. upload the built installer https://frs.sourceforge.net/webupload as documented on http://apps.sourceforge.net/trac/sitedocs/wiki/Release%20files%20for%20download 1. associate the uploaded file with the new release 1. also update the Source``Forge News page (announcement can be added in Admin/News/Submit) 1. update files in the website that reference the current release 1. constants.txt 1. news.txt 1. download.txt - checksums 1. index.txt - version number 1. userfaq.txt - current status 1. upload maven package 1. ant -Dproject.version=2.2-rc1 in jython/maven 1. scp dist/jython-2.2-rc1-bundle.jar shell.sf.net:/home/groups/j/jy/jython/htdocs 1. 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 |
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 - <property name="jython.version">. Also version.noplus, jython.major_version, jython.minor_version, jython.micro_version, and jython.release_serial.
- imp.java - If there has been any compiler change, increment magic number APIVersion.
- NEWS
- README
- Run regrtest and the bugtests
- Copy maint to a tag
- build from tag
- set svn.main.dir to tags/Release_2_2_1 in ant.properties
- ant full-build
- upload installer
- go to Admin/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
- constants.txt
- news.txt
- download.txt - checksums
- index.txt - version number
- userfaq.txt - current status
- 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