Your Name 2ec025888b
Some checks failed
Build-Test-Publish / build (push) Failing after 6s
'Generic Commit'
2025-06-01 20:27:20 +12:00

20 lines
397 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" -r -m "${SCRIPT_DIR}"
rm -rf "${TEMP_DIR}"