From e59aca9562a5d9e07e64de6a6267ad5f8723cd2c Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Thu, 20 Aug 2026 19:36:16 +0000 Subject: [PATCH] Migrate GitHub links to Gitea + release plugin via tea (#3) --- README.md | 6 ++-- apps/web/app/layout.tsx | 2 +- apps/web/app/page.tsx | 4 +-- apps/web/app/plugin/page-client.tsx | 8 +++--- apps/web/app/plugin/page.tsx | 2 +- plugins/decky-vault/scripts/release.sh | 39 +++++++++++++++----------- 6 files changed, 34 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 050d9b0..b44f20e 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ The Decky Loader plugin uses a dual architecture: a React/TypeScript frontend (r ### Installation ```bash -git clone https://github.com/AdrianBonpin/deckyvault.git +git clone https://git.ranio.xyz/adrianbonpin/deckyvault.git cd deckyvault bun install ``` @@ -349,9 +349,9 @@ deckyvault/ Contributions are welcome. Here's how to get involved: -1. **Report bugs** — [Open an issue](https://github.com/AdrianBonpin/deckyvault/issues) with steps to reproduce +1. **Report bugs** — [Open an issue](https://git.ranio.xyz/adrianbonpin/deckyvault/issues) with steps to reproduce 2. **Suggest features** — Describe the problem you're solving and your proposed approach -3. **Submit code** — Fork the repo, create a branch, and [open a PR](https://github.com/AdrianBonpin/deckyvault/pulls) +3. **Submit code** — Fork the repo, create a branch, and [open a PR](https://git.ranio.xyz/adrianbonpin/deckyvault/pulls) ### Guidelines diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 6df9ca8..c7fe29e 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -38,7 +38,7 @@ export const metadata: Metadata = { "compatibility", ], authors: [ - { name: "Adrian Bonpin", url: "https://github.com/AdrianBonpin" }, + { name: "Adrian Bonpin", url: "https://git.ranio.xyz/adrianbonpin" }, ], creator: "@adrianbonpin", openGraph: { diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index 1a37d70..6fb6a70 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -512,7 +512,7 @@ export default function Landing() { 2026 DeckyVault. Github. @@ -596,7 +596,7 @@ export default function Landing() { url: "https://deckyvault.xyz", logo: "https://deckyvault.xyz/icon.png", sameAs: [ - "https://github.com/AdrianBonpin/deckyvault", + "https://git.ranio.xyz/adrianbonpin/deckyvault", ], }), }} diff --git a/apps/web/app/plugin/page-client.tsx b/apps/web/app/plugin/page-client.tsx index 90bc3bb..e601647 100644 --- a/apps/web/app/plugin/page-client.tsx +++ b/apps/web/app/plugin/page-client.tsx @@ -185,7 +185,7 @@ const STEPS = [ <> Download{" "}
/dev/null 2>&1; then - echo "› Release $TAG exists — updating asset + notes" - gh release upload "$TAG" "$ZIP_PATH" --clobber >/dev/null - gh release edit "$TAG" --title "DeckyVault Plugin v${VERSION}" --notes-file "$NOTES_FILE" >/dev/null +if tea release list -r "$REPO" -o simple 2>/dev/null | grep -q "^$TAG"; then + echo "› Release $TAG exists — updating notes + asset" + tea release edit "$TAG" --repo "$REPO" \ + --title "DeckyVault Plugin v${VERSION}" \ + --note "$(cat "$NOTES_FILE")" \ + --draft false \ + --prerelease "$([[ "$PRERELEASE" -eq 1 ]] && echo true || echo false)" >/dev/null + tea release assets create "$TAG" "$ZIP_PATH" --repo "$REPO" >/dev/null else - echo "› Creating GitHub release $TAG…" - gh release create "${RELEASE_ARGS[@]}" + echo "› Creating Gitea release $TAG…" + tea release "${RELEASE_ARGS[@]}" --asset "$ZIP_PATH" fi echo echo "✓ Released v${VERSION}" -echo " Release: https://github.com/AdrianBonpin/deckyvault/releases/tag/${TAG}" -echo " ZIP URL: https://github.com/AdrianBonpin/deckyvault/releases/download/${TAG}/${ZIP_NAME}" +echo " Release: https://git.ranio.xyz/adrianbonpin/deckyvault/releases/tag/${TAG}" +echo " ZIP URL: https://git.ranio.xyz/adrianbonpin/deckyvault/releases/download/${TAG}/${ZIP_NAME}" echo echo "Use the ZIP URL above with Decky's 'Install Plugin from URL'." \ No newline at end of file