mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user