From c0658b187b6a635039d33c04403910bab5b979bb Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Mon, 12 Feb 2024 14:09:33 +0100 Subject: [PATCH] tools/create-tarballs.sh: Document meson minimal version meson 0.58.0 (at least) is required for meson dist --formats "$formats". This version is quite old already, but better to document than be sorry. Signed-off-by: Petr Vorel --- Documentation/README.maintainer | 3 ++- tools/create-tarballs.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/README.maintainer b/Documentation/README.maintainer index a80fc75..65ecafa 100644 --- a/Documentation/README.maintainer +++ b/Documentation/README.maintainer @@ -79,7 +79,8 @@ NOTE: 'tools/create-tarballs.sh' script creates also skeleton of the credit. git log $old_tag.. | grep -Ei 'tested-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r Create release tarballs (tar.xz, tar.gz and zip) and checksums with -'tools/create-tarballs.sh' script. +'tools/create-tarballs.sh' script. Run it with a reasonably new meson +to avoid failures on old version (see minimal version in the file). NOTE: github also produces tar.gz and zip files. We consider them unsecure, do not recommend to use them and don't produce checksums for it. diff --git a/tools/create-tarballs.sh b/tools/create-tarballs.sh index 77ad74f..06e1fdd 100755 --- a/tools/create-tarballs.sh +++ b/tools/create-tarballs.sh @@ -1,6 +1,8 @@ #!/bin/sh -eu # Copyright (c) 2023 Petr Vorel # Create tarballs and checksums for uploading after tagging a new release. +# NOTE: 0.58.0 (at least) is required (for meson dist --formats "$formats") +# Run release with a reasonably new meson. basedir="$(dirname "$0")" . "$basedir/lib.sh"