2024-06-06 15:30:08 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e # exit on failure
|
|
|
|
IFS=$(printf '\n\t') # smarter ifs
|
|
|
|
|
|
|
|
gh run download -n "$1"
|
2024-06-10 21:48:10 +00:00
|
|
|
file="$(echo "$1" | sed 's/^arch-//')"
|
|
|
|
chmod +x "$file"
|
|
|
|
mv "$file" "$(dirname "$(realpath "$0")")/bin"
|