because tools/build.pl now prompts for a name, it breaks all of my scripts which
would automatically build everything.
i tried
echo -e "y\nTWikiReleaseName" | perl build.pl release
(and various
permutations), but that doesn't work (i'm not sure
why it doesn't work;
i see Build.pm just reads from STDIN, so it
should work, but...)
anyway, please provide an example of the existing build process scripted, or
modifying
build.pl
to accept command line parameters, or something...
WN
Oh dear. It never occurred to me that anyone would be script-calling the top level build.
Wouldn't it be easier just to add a command-line option to the
build.pl
script? I have no objection to that, as long as you don't break anything else. e.g.
my $release;
if ($ARGV[0] =~ /^-name=(.*)$/) {
$release = $1;
shift @ARGV;
}
and then call with
perl build.pl -name=TWiki-4.0.1 release
This doesn't impact the release, so dropping the priority to Low.
CC
SVN 8346; final param to build.pl is the release ID (iff there is more than 1 param)
Also added automatic derivation of topic name from release id.
CC