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>
This commit is contained in:
Petr Vorel
2024-02-12 14:09:33 +01:00
parent b698ef63b6
commit c0658b187b
2 changed files with 4 additions and 1 deletions

View File

@@ -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.

View File

@@ -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"