This commit is contained in:
@ -46,15 +46,8 @@ docker build \
|
||||
[ -f "${OUTPUT}/${PROJECT}" ] || die "Build failed."
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
heading "Downloading SOS"
|
||||
# download the sos binary
|
||||
TEMP_DIR="${OUTPUT}/temp"
|
||||
SOS="${TEMP_DIR}/sos"
|
||||
mkdir -p "${TEMP_DIR}"
|
||||
trap 'rm -rf "${TEMP_DIR}"' EXIT
|
||||
curl -L -o "${SOS}" "https://getbin.xyz/sos"
|
||||
[ -f "${SOS}" ] || die "Failed to download sos"
|
||||
chmod +x "${SOS}"
|
||||
SOS="${SCRIPT_DIR}/../sos/sos"
|
||||
[ -f "${SOS}" ] || die "Failed to find sos"
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
heading "Uploading ${PROJECT} to getbin.xyz"
|
||||
|
Reference in New Issue
Block a user