Skip to content

Commit

Permalink
build.sh: Fix testing release build
Browse files Browse the repository at this point in the history
Fixes: 2e8b3b2 ("build.sh: Add support for meson dist")
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Sep 5, 2024
1 parent 10b5078 commit 6d1f6e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,15 @@ install()
dist()
{
local formats="xztar,gztar,zip"
local tag="$(date +%Y%m%d)"
local f

echo "=== dist ($formats) ==="
meson dist -C $BUILD_DIR --formats $formats

for f in $(echo "$formats" | sed 's/,/ /g'); do
f=$(echo "$f" | sed 's/\(.*\)tar/tar.\1/')
f=$BUILD_DIR/meson-dist/iputils-20240117.$f
f=$BUILD_DIR/meson-dist/iputils-$tag.$f
ls -lah $f
file $f | grep -E '(compressed|archive) data'
done
Expand Down

0 comments on commit 6d1f6e0

Please sign in to comment.