From d7844af4fb768f2a8697f04fae51674971626bc8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 20 Feb 2008 12:18:54 +0100 Subject: [PATCH] Updated the release script and released a snapshot 20080220. --- Makefile | 2 +- maint/release | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8c13b71..5815903 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Makefile for mo-eval and related utilities # (c) 2007 Martin Mares -VERSION=1.0.1 +VERSION=1.0.99-20080220 #DEBUG=-ggdb CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -Winline $(DEBUG) -std=gnu99 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 $?; } -- 2.39.5