From 3202b79e41ea0b1c8a072ba2047b32e4317ffd24 Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 13 May 2026 14:03:04 -0400 Subject: [PATCH] chore(release): move artifacts to gitea releases --- .gitignore | 5 +++++ release-manifest.json | 4 ++-- releases/manifest.json | 29 +++++++++++++++++++++++++++++ scripts/create-release-manifest.sh | 8 ++++---- scripts/create-release.sh | 15 +++++++++++---- 5 files changed, 51 insertions(+), 10 deletions(-) create mode 100644 releases/manifest.json diff --git a/.gitignore b/.gitignore index 8341f7c4..4c193d4d 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/release-manifest.json b/release-manifest.json index 0b4cf498..edb77220 100644 --- a/release-manifest.json +++ b/release-manifest.json @@ -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 } diff --git a/releases/manifest.json b/releases/manifest.json new file mode 100644 index 00000000..edb77220 --- /dev/null +++ b/releases/manifest.json @@ -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 + } + ] +} diff --git a/scripts/create-release-manifest.sh b/scripts/create-release-manifest.sh index 2cfcb2a4..96c2ccbe 100755 --- a/scripts/create-release-manifest.sh +++ b/scripts/create-release-manifest.sh @@ -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" diff --git a/scripts/create-release.sh b/scripts/create-release.sh index b479805b..0d177b0a 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -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"