aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2024-02-12 14:09:33 +0100
committerPetr Vorel <pvorel@suse.cz>2024-02-12 14:13:47 +0100
commitc0658b187b6a635039d33c04403910bab5b979bb (patch)
tree842608d622cc375453469e3310547af1b6e797bf
parentb698ef63b6f135e49eb86cfc0c65d452338c01dc (diff)
downloadiputils-c0658b187b6a635039d33c04403910bab5b979bb.tar.gz
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 <pvorel@suse.cz>
-rw-r--r--Documentation/README.maintainer3
-rwxr-xr-xtools/create-tarballs.sh2
2 files changed, 4 insertions, 1 deletions
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 <pvorel@suse.cz>
# 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"