bb64 release v26

This commit is contained in:
Your Name 2025-05-12 22:02:56 +12:00
parent 8b184a524f
commit 7081615a98
2 changed files with 18 additions and 9 deletions

View File

@ -76,15 +76,24 @@ if [ -z "$RELEASE_ID" ]; then
exit 1
fi
# Upload binaries
for BIN in bb64.amd64 bb64.arm64; do
if [ -f "output/$BIN" ]; then
curl -s -X POST "$API_URL/releases/$RELEASE_ID/assets?name=$BIN" \
-H "Content-Type: application/octet-stream" \
-H "Authorization: token $TOKEN" \
--data-binary @"output/$BIN"
echo "Uploaded $BIN to release $TAG."
# Upload binaries and install.sh
for FILE in bb64.amd64 bb64.arm64 install.sh; do
if [ -f "output/$FILE" ]; then
filetoupload="output/$FILE"
elif [ -f "$FILE" ]; then
filetoupload="$FILE"
else
continue
fi
# Auto-detect content type
ctype=$(file --mime-type -b "$filetoupload")
curl -s -X POST "$API_URL/releases/$RELEASE_ID/assets?name=$FILE" \
-H "Content-Type: $ctype" \
-H "Authorization: token $TOKEN" \
--data-binary @"$filetoupload"
echo "Uploaded $FILE to release $TAG as $ctype."
done
echo "Published bb64 version $v to $REPO_URL (tag $TAG) with binaries."

View File

@ -1 +1 @@
static const char *VERSION = "25";
static const char *VERSION = "26";