Index: openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml,v diff -u -r1.12 -r1.13 --- openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml 26 Feb 2004 15:28:37 -0000 1.12 +++ openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml 26 Feb 2004 17:08:06 -0000 1.13 @@ -10,7 +10,7 @@ How to package and release OpenACS - Update documentation version numbers: + Update version numbers: Update /packages/acs-core-docs/www/xml/variables.ent with the new version number. @@ -27,6 +27,29 @@ Update /readme.txt with the new version number + Update version number in all of the core packages. Here's a bash/perl script which works but could be made easier to use: + #!/bin/sh +# run this file from ../packages to renumber all .info version numbers + +#--------------------------------------------------------------------- +# here's what we're looking for +#--------------------------------------------------------------------- +# <version name="5.1.0d1" url="http:blahblah/acs-kernel-5.1.0d1.apm"> +# <provides url="acs-kernel" version="5.1.0d1"/> +#--------------------------------------------------------------------- +# here's what we don't want to touch +#--------------------------------------------------------------------- +# <requires url="acs-kernel" version="5.0.0b4"/> +#--------------------------------------------------------------------- + +for dir in `find -name *.info` + do + perl -p -i -e 's/name="5\.0\.0"/name="5\.1\.0d1"/' $dir + perl -p -i -e 's/-5\.0\.0.apm"/-5\.1\.0d1.apm"/' $dir + perl -p -i -e 's/(provides.*version)="5\.0\.0"/\1="5\.1\.0d1"/' $dir +done + + Rebuild the Changelog. Using cvs2cl: perl /var/tmp/cvs2cl/cvs2cl.pl -F oacs-5-0 --delta openacs-5-0-0-final:oacs-5-0 @@ -38,13 +61,13 @@ - Check out the whole cvs tree. The files must be checked + Check out OpenACS Core. The files must be checked out through a cvs account with write access and should be a checkout from the release branch. In this example, we are assuming this is being done as a local user on openacs.org (which make the checkout and tagging operations much faster). cd /var/tmp -cvs -d /cvsroot checkout -r oacs-5-0 openacs-core +cvs -d /cvsroot checkout -r oacs-5-0 acs-core Repeat with the dotlrn cvs tree. cd /var/tmp mkdir dotlrn-packages @@ -53,9 +76,10 @@ - Tag the tree. + Tag the tree. If it's a final release of core, move or create the appropriate openacs-major-minor-compat tag. (Ie, if releasing 5.0.3 final, move the openacs-5-0-compat flag.) cd /var/tmp/openacs-4 cvs tag -F openacs-5-0-0a1 +cvs tag -F openacs-5-0-compat Branching @@ -87,8 +111,7 @@ Go to a new working space and export the tagged files. mkdir /var/tmp/tarball cd /var/tmp/tarball -cvs -d :pserver:anonymous@openacs.org:/cvsroot export -r openacs-5-0-0a1 acs-core -mv openacs-4 openacs +cvs -d /cvsroot export -r openacs-5-0-0a1 acs-core Generate the tarball.