From 4509b99f933e3e46a4aee8bcff21ef1c6001b1d1 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 21 Jan 2020 00:02:18 +0100 Subject: Fix URL, and use a new $uploaddir variable. --- dist-tools/makerelease.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dist-tools') diff --git a/dist-tools/makerelease.pl b/dist-tools/makerelease.pl index 61a48ddb..95dc692c 100755 --- a/dist-tools/makerelease.pl +++ b/dist-tools/makerelease.pl @@ -6,7 +6,8 @@ # my $project = "fetchmail"; -my $website = "http://sourceforge.net/projects/$project"; +my $uploaddir = "branch_6.4"; +my $website = "https://downloads.sourceforge.net/project/$project/$uploaddir/"; my $mailfrom = "<$project-devel\@lists.sourceforge.net> (Fetchmail Development Team)"; my $xzsufx = '.tar.xz'; my $lzsufx = '.tar.lz'; @@ -196,7 +197,7 @@ print "=== local\n"; #system("cp", "autobuild/$project-$version$xzsufx", "autobuild/$project-$version$xzsufx.asc", "$ENV{HOME}/public_html/fetchmail/") and die "Cannot upload to \$HOME/public_html/fetchmail/: $!"; print "=== sourceforge \n"; -system("rsync -acvHP autobuild/$project-$version$xzsufx autobuild/$project-$version$xzsufx.asc autobuild/$project-$version$lzsufx autobuild/$project-$version$lzsufx.asc autobuild/README m-a\@frs.sourceforge.net:/home/frs/project/fetchmail/branch_6.4/"); +system("rsync -acvHP autobuild/$project-$version$xzsufx autobuild/$project-$version$xzsufx.asc autobuild/$project-$version$lzsufx autobuild/$project-$version$lzsufx.asc autobuild/README m-a\@frs.sourceforge.net:/home/frs/project/fetchmail/$uploaddir/"); # unlink 'autobuild/README' or die "cannot unlink autobuild/README: $!"; print "=== Done - please review final tasks\n"; -- cgit v1.2.3