Bump rc and fix demo deploy image override

This commit is contained in:
Nick Sweeting 2026-05-23 14:41:47 -07:00
parent d7c12b9ef2
commit 811ef03982
No known key found for this signature in database
3 changed files with 16 additions and 6 deletions

View File

@ -44,16 +44,26 @@ ssh -p "$DEPLOY_PORT" "$DEPLOY_HOST" DEPLOY_PATH="$DEPLOY_PATH" DEPLOY_SERVICE="
set -Eeuo pipefail
cd "$DEPLOY_PATH"
if [[ -f compose.yml || -f compose.yaml || -f docker-compose.yml ]]; then
COMPOSE=(docker compose)
if [[ -f compose.yml ]]; then
COMPOSE_FILE=compose.yml
elif [[ -f compose.yaml ]]; then
COMPOSE_FILE=compose.yaml
elif [[ -f docker-compose.yml ]]; then
COMPOSE_FILE=docker-compose.yml
else
echo "[X] No compose file found in $DEPLOY_PATH" >&2
exit 1
fi
export ARCHIVEBOX_IMAGE="$DEPLOY_IMAGE"
cat > .archivebox-deploy.override.yml <<EOF
services:
$DEPLOY_SERVICE:
image: $DEPLOY_IMAGE
EOF
echo "[+] Pulling $ARCHIVEBOX_IMAGE..."
COMPOSE=(docker compose -f "$COMPOSE_FILE" -f .archivebox-deploy.override.yml)
echo "[+] Pulling $DEPLOY_IMAGE..."
"${COMPOSE[@]}" pull "$DEPLOY_SERVICE"
echo "[+] Restarting $DEPLOY_SERVICE..."

View File

@ -1,6 +1,6 @@
{
"name": "archivebox",
"version": "0.9.31rc3",
"version": "0.9.31rc4",
"repository": "github:ArchiveBox/ArchiveBox",
"license": "MIT",
"dependencies": {

View File

@ -1,6 +1,6 @@
[project]
name = "archivebox"
version = "0.9.31rc3"
version = "0.9.31rc4"
requires-python = ">=3.13"
description = "Self-hosted internet archiving solution."
authors = [{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"}]