chore(release): move artifacts to gitea releases

This commit is contained in:
Dorian 2026-05-13 14:03:04 -04:00
parent c0751e2551
commit 3202b79e41
5 changed files with 51 additions and 10 deletions

5
.gitignore vendored
View File

@ -57,6 +57,11 @@ coverage/
*.dmg
*.app
# Release artifacts live in Gitea Release attachments, not Git history.
releases/**
!releases/
!releases/manifest.json
# macOS build output
build/macos/

View File

@ -13,7 +13,7 @@
"name": "archipelago",
"current_version": "1.7.54-alpha",
"new_version": "1.7.54-alpha",
"download_url": "https://git.tx1138.com/lfg2025/archy/raw/branch/main/releases/v1.7.54-alpha/archipelago",
"download_url": "http://146.59.87.168:3000/lfg2025/archy/releases/download/v1.7.54-alpha/archipelago",
"sha256": "77e3a236a6196a5ab9ec2411b150490e78ffc95ea6ab8eb34ab29b3df53cd632",
"size_bytes": 42600560
},
@ -21,7 +21,7 @@
"name": "archipelago-frontend-1.7.54-alpha.tar.gz",
"current_version": "1.7.54-alpha",
"new_version": "1.7.54-alpha",
"download_url": "https://git.tx1138.com/lfg2025/archy/raw/branch/main/releases/v1.7.54-alpha/archipelago-frontend-1.7.54-alpha.tar.gz",
"download_url": "http://146.59.87.168:3000/lfg2025/archy/releases/download/v1.7.54-alpha/archipelago-frontend-1.7.54-alpha.tar.gz",
"sha256": "a010ac43a2dd02f528202cb2f7b99b61ceab80adc6827877594e41df4ea951fb",
"size_bytes": 166461921
}

29
releases/manifest.json Normal file
View File

@ -0,0 +1,29 @@
{
"version": "1.7.54-alpha",
"release_date": "2026-05-06",
"changelog": [
"Existing installs now self-repair nginx backend proxy locations for `/bitcoin-status` and `/api/app-catalog`, including hosts where `sites-enabled/archipelago` is a copied active file instead of a symlink.",
"LND UI is consistently served on `18083` across first boot, Tor config, companion Quadlet reconciliation, OTA runtime payloads, and ISO scripts; stale companion units/images are rewritten instead of only checking service active state.",
"OTA frontend tarballs now carry a clean runtime payload with updated scripts, docker UI sources, and canonical nginx config, preventing startup promotion from reintroducing stale host assets.",
"Release ISO builds now support the primary HTTP app registry when bundling core images, so unbundled media includes File Browser/Cloud support instead of requiring a post-install Marketplace download.",
"`.116` was live-updated with the new backend and runtime scripts; focused non-destructive lifecycle audit passes for Bitcoin Knots, LND, BTCPay, Mempool, and Grafana."
],
"components": [
{
"name": "archipelago",
"current_version": "1.7.54-alpha",
"new_version": "1.7.54-alpha",
"download_url": "http://146.59.87.168:3000/lfg2025/archy/releases/download/v1.7.54-alpha/archipelago",
"sha256": "77e3a236a6196a5ab9ec2411b150490e78ffc95ea6ab8eb34ab29b3df53cd632",
"size_bytes": 42600560
},
{
"name": "archipelago-frontend-1.7.54-alpha.tar.gz",
"current_version": "1.7.54-alpha",
"new_version": "1.7.54-alpha",
"download_url": "http://146.59.87.168:3000/lfg2025/archy/releases/download/v1.7.54-alpha/archipelago-frontend-1.7.54-alpha.tar.gz",
"sha256": "a010ac43a2dd02f528202cb2f7b99b61ceab80adc6827877594e41df4ea951fb",
"size_bytes": 166461921
}
]
}

View File

@ -18,7 +18,7 @@ RELEASE_DATE=""
OUTPUT_FILE="manifest.json"
BACKEND_BINARY=""
FRONTEND_ARCHIVE=""
BASE_URL="https://github.com/archipelago-os/releases/releases/download"
BASE_URL="http://146.59.87.168:3000/lfg2025/archy/releases/download"
usage() {
echo "Usage: $0 --version VERSION [--date DATE] [--output FILE]"
@ -29,7 +29,7 @@ usage() {
echo " --output FILE Output manifest path [default: manifest.json]"
echo " --backend PATH Path to backend binary [default: auto-detect]"
echo " --frontend PATH Path to frontend archive [default: auto-detect]"
echo " --base-url URL Base download URL [default: GitHub releases]"
echo " --base-url URL Base download URL [default: Gitea release attachments]"
exit 1
}
@ -279,6 +279,6 @@ cat "$OUTPUT_FILE"
echo ""
echo "Next steps:"
echo " 1. Review the manifest above"
echo " 2. Upload artifacts to: $BASE_URL/v$VERSION/"
echo " 3. Upload manifest.json to the releases repo main branch"
echo " 2. Upload artifacts to Gitea release v$VERSION"
echo " 3. Commit manifest.json to releases/manifest.json on main"
echo " 4. Tag the release: git tag v$VERSION && git push --tags"

View File

@ -161,7 +161,9 @@ else
fi
echo "[5/7] Creating release manifest..."
"$SCRIPT_DIR/create-release-manifest.sh" --version "$VERSION" --date "$RELEASE_DATE" --output "$PROJECT_ROOT/release-manifest.json" 2>&1 | grep -v "^$"
mkdir -p "$PROJECT_ROOT/releases"
"$SCRIPT_DIR/create-release-manifest.sh" --version "$VERSION" --date "$RELEASE_DATE" --output "$PROJECT_ROOT/releases/manifest.json" 2>&1 | grep -v "^$"
cp "$PROJECT_ROOT/releases/manifest.json" "$PROJECT_ROOT/release-manifest.json"
echo "[6/7] Committing version bump..."
git -C "$PROJECT_ROOT" add \
@ -169,6 +171,7 @@ git -C "$PROJECT_ROOT" add \
neode-ui/package.json \
neode-ui/package-lock.json \
CHANGELOG.md \
releases/manifest.json \
release-manifest.json \
2>/dev/null || true
@ -183,13 +186,17 @@ echo ""
echo "Artifacts:"
echo " - Version bumped in Cargo.toml and package.json"
echo " - Changelog updated in CHANGELOG.md"
echo " - Release manifest: release-manifest.json"
echo " - Release manifest: releases/manifest.json"
echo " - Release manifest copy: release-manifest.json"
echo " - Git tag: v${VERSION}"
echo ""
echo "Next steps:"
echo " 1. Review: git log --oneline -5"
echo " 2. Push to gitea-local and gitea-vps2:"
echo " 2. Create Gitea release v${VERSION} and upload artifacts:"
echo " archipelago"
echo " archipelago-frontend-${VERSION}.tar.gz"
echo " 3. Push to gitea-local and gitea-vps2:"
echo " git push gitea-local main --tags && git push gitea-vps2 main --tags"
echo " 3. Verify manifest is live on both mirrors:"
echo " 4. Verify manifest is live on both mirrors:"
echo " curl -fsS http://localhost:3000/lfg2025/archy/raw/branch/main/releases/manifest.json"
echo " curl -fsS http://146.59.87.168:3000/lfg2025/archy/raw/branch/main/releases/manifest.json"