Your Name 32552489f3
All checks were successful
Build-Test-Publish / build (push) Successful in 6s
'Generic Commit'
2025-06-01 19:48:11 +12:00

20 lines
390 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
TEMP_DIR=$(mktemp -d)
function getbin() {
local BIN_NAME="$1"
curl -L -o "${TEMP_DIR}/${BIN_NAME}" "https://getbin.xyz/${BIN_NAME}"
chmod +x "${TEMP_DIR}/${BIN_NAME}"
}
getbin "dropshell-build"
"${TEMP_DIR}/dropshell-build" "${SCRIPT_DIR}"
rm -rf "${TEMP_DIR}"