From 31be41e21d7c869d0d94e5927ef4f6b4ffae332a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 22 Jun 2025 14:28:18 +1200 Subject: [PATCH] 'Generic Commit' --- gp/publish.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gp/publish.sh b/gp/publish.sh index 9333942..661730a 100755 --- a/gp/publish.sh +++ b/gp/publish.sh @@ -9,3 +9,12 @@ SOS_DIR="${SCRIPT_DIR}/../sos" # run sos to upload sos "${SOS_DIR}/sos" upload "getbin.xyz" "${SCRIPT_DIR}/${PROJECT}" "${PROJECT}:latest" + +# publish the tool +GETPKG="${SCRIPT_DIR}/../getpkg/output/getpkg" +[ -f "${GETPKG}" ] || die "Failed to find getpkg" +TOOLDIR="${SCRIPT_DIR}/tool" +mkdir -p "${TOOLDIR}" +cp "${SCRIPT_DIR}/${PROJECT}" "${TOOLDIR}/${PROJECT}" +"${GETPKG}" publish "${PROJECT}" "${TOOLDIR}" +rm -rf "${TOOLDIR}"