bb64 release v12

This commit is contained in:
Your Name 2025-05-12 20:43:11 +12:00
parent 6b11a45e0f
commit 90c22fea00
2 changed files with 3 additions and 8 deletions

View File

@ -1,12 +1,6 @@
#!/bin/bash
set -e
# Require root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." >&2
exit 1
fi
# Installs bb64 on the local machine.
# 1. determines the architecture of the local machine
# 2. downloads the appropriate bb64 binary from the latest public release on Gitea (https://gitea.jde.nz/j/bb64/releases)
@ -54,7 +48,8 @@ chmod +x "$TMPDIR/bb64"
# 5. Move to /usr/local/bin
# -----------------------------------------------------------------------------
mv "$TMPDIR/bb64" /usr/local/bin/bb64
docker run --rm -v "$TMPDIR:/tmp" -v /usr/local/bin:/target alpine sh -c "cp /tmp/bb64 /target/bb64"
rm "$TMPDIR/bb64"
# 6. Print success message
# -----------------------------------------------------------------------------

View File

@ -1 +1 @@
static const char *VERSION = "11";
static const char *VERSION = "12";