dropshell-build/publish_scripts_only.sh
Your Name f77c3350d5
Some checks failed
dropshell-build / build (push) Failing after 1m56s
'Generic Commit'
2025-06-02 21:56:37 +12:00

22 lines
610 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
# download the sos binary
SOS="${SCRIPT_DIR}/temp/sos"
mkdir -p "${SCRIPT_DIR}/temp"
curl -L -o "${SOS}" https://getbin.xyz/sos
chmod +x "${SOS}"
# upload the dropshell-build script
"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/src/dropshell-build" "dropshell-build:latest"
# upload the install requirements script
"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/src/dropshell-build-install-requirements" "dropshell-build-install-requirements:latest"
# clean up
rm -rf "${SCRIPT_DIR}/temp"
echo "Done"