Files
Mozilla/mozilla/tools/release/Bootstrap/Step/Sign.pm
rhelmer%mozilla.com 13e9c9976d make signing on staging more like production r=cf b=399541
git-svn-id: svn://10.0.0.236/trunk@237661 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 16:17:19 +00:00

43 lines
939 B
Perl

#
# Sign step. Wait for signed builds to appear.
#
package Bootstrap::Step::Sign;
use Bootstrap::Step;
use Bootstrap::Config;
use Bootstrap::Util qw(SyncNightlyDirToStaging);
@ISA = ("Bootstrap::Step");
sub Execute {
my $this = shift;
my $config = new Bootstrap::Config();
my $rc = $config->Get(var => 'rc');
my $signedDir = $config->GetFtpCandidateDir(bitsUnsigned => 0);
while (! -f catfile($signedDir . 'win32_signing_rc' . $rc . '.log')) {
sleep(10);
}
}
sub Verify {}
sub Announce {
my $this = shift;
my $config = new Bootstrap::Config();
my $product = $config->Get(var => 'product');
my $version = $config->Get(var => 'version');
$this->SendAnnouncement(
subject => "$product $version sign step finished",
message => "$product $version win32 builds have been signed and copied to the candidates dir.",
);
}
sub Push {
SyncNightlyDirToStaging();
}
1;