From fb8ac2aca1b654afc0e894b4932ed5f220dbd42b Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Mon, 30 Sep 2024 13:34:36 +0200 Subject: [PATCH] utils/gh-dl-artifact.sh: Support extracting release tarballs Release tarball names contain the version information. Make sure we find these files when extracting them from the artifact ZIP. --- utils/gh-dl-artifact.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gh-dl-artifact.sh b/utils/gh-dl-artifact.sh index fa8bf1ed..2119f1fe 100755 --- a/utils/gh-dl-artifact.sh +++ b/utils/gh-dl-artifact.sh @@ -160,7 +160,7 @@ gh api $url >$zip ixmsg "Extracting artifact" mkdir -p $imgdir -unzip -p $zip infix-$arch.tar.gz | gunzip | tar -C $imgdir -x --strip-components=1 +unzip -p $zip "infix-${arch}*.tar.gz" | gunzip | tar -C $imgdir -x --strip-components=1 ixmsg "Done"