diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2020-09-04 09:59:47 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2020-09-04 10:03:28 +0200 |
commit | 45db183304e9d3145d039d8c0f5f169465fc1ac4 (patch) | |
tree | a983466392344c06eadb3b69b35e2e245215ba29 /dist-tools | |
parent | a285befb7493de45863e4bb1b851f3e686022bab (diff) | |
download | fetchmail-45db183304e9d3145d039d8c0f5f169465fc1ac4.tar.gz fetchmail-45db183304e9d3145d039d8c0f5f169465fc1ac4.tar.bz2 fetchmail-45db183304e9d3145d039d8c0f5f169465fc1ac4.zip |
makerelease.pl: avoid clobbering README.
Diffstat (limited to 'dist-tools')
-rwxr-xr-x | dist-tools/makerelease.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dist-tools/makerelease.pl b/dist-tools/makerelease.pl index 95dc692c..b0183888 100755 --- a/dist-tools/makerelease.pl +++ b/dist-tools/makerelease.pl @@ -110,6 +110,8 @@ if (system("autoreconf -ifs" . ($verbose ? 'v' : ''))) { print "### configure\n"; +system("rm -rf autobuild") and die("Cannot rm -rf autobuild directory\n"); + if (system("mkdir -p autobuild && cd autobuild " . " && ../configure -C --silent --with-ssl")) { die("Configuration failure\n"); } @@ -189,7 +191,7 @@ print "### Signing tarballs...\n"; system("cd autobuild && gpg -ba --sign $project-$version$xzsufx && gpg -ba --sign $project-$version$lzsufx"); print "### Extracting release notes...\n"; -makerelnotes('NEWS', 'autobuild/README'); +makerelnotes('NEWS', 'autobuild/README.txt'); print "### Uploading\n"; print "=== local\n"; @@ -197,8 +199,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/$uploaddir/"); -# unlink 'autobuild/README' or die "cannot unlink autobuild/README: $!"; +system("rsync -acvHP autobuild/$project-$version$xzsufx autobuild/$project-$version$xzsufx.asc autobuild/$project-$version$lzsufx autobuild/$project-$version$lzsufx.asc autobuild/README.txt m-a\@frs.sourceforge.net:/home/frs/project/fetchmail/$uploaddir/"); print "=== Done - please review final tasks\n"; |