X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=maint%2Frelease;h=c1c8cc9e84f1e2e93157626afdee494a90da6f2f;hb=878693c0f1a0a4cee1ae0478e762b4c57dc44df3;hp=345739a5df111fbe597519b1bcff1b0add0b45aa;hpb=164a8129e1d82a46a5d0a4edeb328b27c513f3fb;p=moe.git diff --git a/maint/release b/maint/release index 345739a..c1c8cc9 100755 --- a/maint/release +++ b/maint/release @@ -1,6 +1,6 @@ #!/usr/bin/perl # A simple script for making releases of mo-eval -# (c) 2005 Martin Mares +# (c) 2005--2008 Martin Mares use strict; use warnings; @@ -9,10 +9,12 @@ require "maint/release.pm"; my $r = new UCW::Release("mo-eval"); my $ver = $r->GetVersionFromFile("Makefile", "VERSION=(.*)"); #$r->GetVersionsFromChangelog("ChangeLog", "Released as (.*)\."); -unshift @{$r->{"rules"}}, '^(problems|testing|solutions|maint)/.*' => '-'; +unshift @{$r->{"rules"}}, '^(problems|testing|solutions|maint|certs)/.*' => '-'; push @{$r->{"directories"}}, "problems", "testing", "solutions"; push @{$r->{"uploads"}}, { - "url" => "scp://atrey.karlin.mff.cuni.cz/~ftp/pub/local/mj/eval/" + "url" => "scp://atrey.karlin.mff.cuni.cz/~ftp/pub/local/mj/eval/" + }, { + "url" => "scp://jabberwock.ucw.cz/~ftp/pub/mj/eval/" }; $r->ParseOptions; $r->InitDist("maint/dist"); @@ -21,6 +23,6 @@ $r->GenFile("README"); $r->Dispatch; if ($r->{"do_upload"}) { - print "Updating checked-out documentation at Atrey\n"; - `ssh atrey cd src/eval && Cu`; die if $?; + print "Updating documentation at Jabberwock\n"; + `rsync -a doc/. jabberwock.ucw.cz:www/mo-eval/`; die if $?; }