diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-13 01:04:22 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-13 01:04:22 +0000 |
commit | 724d54b97db4d1574dfaefcf4e94042354de950e (patch) | |
tree | 70ca9b503900ed6d22495f80151deb9ee572cd97 /tools | |
parent | 54cb0243928e53b7a9a0525f95c4080ff22c1861 (diff) | |
download | mpfr-724d54b97db4d1574dfaefcf4e94042354de950e.tar.gz |
[tools/announce-text] For release candidates, automatically adapt the
flow of the text.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14010 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/announce-text | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/announce-text b/tools/announce-text index e7542ac94..e6ebfeb92 100755 --- a/tools/announce-text +++ b/tools/announce-text @@ -191,12 +191,21 @@ EOF else rc=${vers#*-rc} [ $rc -gt 1 ] && n=" $rc" - cat <<EOF -Subject: GNU MPFR $base Release Candidate$n - + printf "%s\n\n" "Subject: GNU MPFR $base Release Candidate$n" + if [ $(echo "$base ($rname)" | wc -m) -gt 30 ]; then + cat <<EOF +The release of GNU MPFR $base ($rname) +is imminent. Please help to make this release as good as possible +by downloading and testing this release candidate: +EOF + else + cat <<EOF The release of GNU MPFR $base ($rname) is imminent. Please help to make this release as good as possible by downloading and testing this release candidate: +EOF + fi + cat <<EOF https://www.mpfr.org/mpfr-$base/mpfr-$vers.tar.xz https://www.mpfr.org/mpfr-$base/mpfr-$vers.tar.bz2 |