Compare commits

...

2 Commits

Author SHA1 Message Date
0aeb97d1fc bump version 2026-04-10 11:38:55 -07:00
6529fb803f Remove publish script 2026-04-10 11:38:19 -07:00
3 changed files with 2 additions and 34 deletions

2
Cargo.lock generated
View File

@ -10,7 +10,7 @@ checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af"
[[package]]
name = "shout"
version = "0.0.18"
version = "0.0.19"
dependencies = [
"libc",
]

View File

@ -1,6 +1,6 @@
[package]
name = "shout"
version = "0.0.18"
version = "0.0.19"
edition = "2024"
[dependencies]

View File

@ -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"