mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
chore: update install script
This commit is contained in:
parent
a3d3c6f143
commit
d28b80b304
2 changed files with 3 additions and 3 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
|
@ -106,7 +106,7 @@ jobs:
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: |
|
artifacts: |
|
||||||
*.tar.gz
|
*.tar.zst
|
||||||
*.zip
|
*.zip
|
||||||
*.deb
|
*.deb
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ main() {
|
||||||
assert_nz "${_package}" "package"
|
assert_nz "${_package}" "package"
|
||||||
echo "Downloaded package: ${_package}"
|
echo "Downloaded package: ${_package}"
|
||||||
case "${_package}" in
|
case "${_package}" in
|
||||||
*.tar.gz)
|
*.tar.zst)
|
||||||
need_cmd tar
|
need_cmd tar
|
||||||
ensure tar -xf "${_package}"
|
ensure tar -xf "${_package}"
|
||||||
;;
|
;;
|
||||||
|
|
@ -154,7 +154,7 @@ download_pay_respects() {
|
||||||
|
|
||||||
local _ext
|
local _ext
|
||||||
case "${_package_url}" in
|
case "${_package_url}" in
|
||||||
*.tar.gz) _ext="tar.gz" ;;
|
*.tar.zst) _ext="tar.zst" ;;
|
||||||
*.zip) _ext="zip" ;;
|
*.zip) _ext="zip" ;;
|
||||||
*) err "unsupported package format: ${_package_url}" ;;
|
*) err "unsupported package format: ${_package_url}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue