getpkg/whatsdirty/publish.sh
Your Name 290da173f9
Some checks failed
Build-Test-Publish / build (push) Failing after 13s
'Generic Commit'
2025-06-15 21:15:23 +12:00

16 lines
413 B
Bash

#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
# run sos to upload
"${SCRIPT_DIR}/../sos/sos" upload "getbin.xyz" "${SCRIPT_DIR}/whatsdirty.sh" "whatsdirty:latest"
"${SCRIPT_DIR}/../sos/sos" upload "getbin.xyz" "${SCRIPT_DIR}/install.sh" "whatsdirty-install:latest"
# publish the tool
mkdir -p ${SCRIPT_DIR}/tool
cp ${SCRIPT_DIR}/whatsdirty.sh ${SCRIPT_DIR}/tool