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.
This commit is contained in:
Tobias Waldekranz
2024-09-30 13:34:36 +02:00
parent 6dadbd9176
commit fb8ac2aca1
+1 -1
View File
@@ -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"