Skip to content

Commit

Permalink
feat: support tar packaged release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraetzschmar committed Oct 18, 2024
1 parent 1866ad3 commit 10cc335
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions download_pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ arch="$(dpkg --print-architecture)"
mkdir download
while read -r repo tag; do
gh release download --dir download --repo "$repo" "$tag"
if [ -e download/build.tar.xz ]; then
xz -d < download/build.tar.xz | tar -C download -x
rm download/build.tar.xz
fi
if [ -e download/null ]; then
rm download/null
fi
Expand Down

0 comments on commit 10cc335

Please sign in to comment.