Whatever convention is agreed for naming releases (
http://twiki.org/cgi-bin/view/Codev/TWikiReleaseNamingConvention
), we have to automate it somehow.
The build process currently names all releases "TWiki" i.,e. does not differentiate packages. The proposed automation is:
-
build.pl
prompts for a release name
-
sed
TWiki.pm to insert the release name in $RELEASE, and svn ci
it (Item000:) to ensure correct repository labelling ($RELEASE is currently 'Dakar')
- derive a TWiki topic name from the release name using an RE e.g.
$release =~ s/^(TWiki)?(\d+)\.(\d+)\.(\d+)$/TWikiR$1_$2_$3/ or die "Invalid release name $release";
- Use the release name as the name for the zip and topic
CC
All done except RE, which is not strictly necessary. All we need now is agreement on the release naming scheme.
SVN 8209
CC