From 6529fb803fb6652c237ffa12d23c8b66637cd56a Mon Sep 17 00:00:00 2001 From: "user.email" Date: Fri, 10 Apr 2026 11:38:19 -0700 Subject: [PATCH] Remove publish script --- scripts/publish | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 scripts/publish diff --git a/scripts/publish b/scripts/publish deleted file mode 100755 index 06a6296..0000000 --- a/scripts/publish +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -set -eu - -NAME="shout" -BECAUSE="$HOME/dev/projects/because.sh" - -TARGETS=" -aarch64-apple-darwin -x86_64-unknown-linux-gnu -aarch64-unknown-linux-gnu -" - -for TARGET in $TARGETS; do - echo "Building $TARGET..." - case "$TARGET" in - *-apple-*) - cargo build --release --target "$TARGET" - ;; - *) - cross build --release --target "$TARGET" - ;; - esac - - gzip -c "target/$TARGET/release/$NAME" > "target/release/$NAME-$TARGET.gz" - "$BECAUSE/scripts/upload" put "$NAME/bin/$NAME-$TARGET.gz" "target/release/$NAME-$TARGET.gz" -done - -# Upload install script + landing page -"$BECAUSE/scripts/upload" publish "$NAME" -"$BECAUSE/scripts/upload" put "$NAME/index.html" web/index.html - -printf "\nPublished %s to https://because.sh/%s/\n" "$NAME" "$NAME"