Migrate GitHub links to Gitea + release plugin via tea (#3)

This commit was merged in pull request #3.
This commit is contained in:
2026-08-20 19:36:16 +00:00
parent af13853a61
commit e59aca9562
6 changed files with 34 additions and 27 deletions
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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: {
+2 -2
View File
@@ -512,7 +512,7 @@ export default function Landing() {
<span className='opacity-60'>2026 DeckyVault.</span>
<Link
title='Visit our Github Repository'
href='https://github.com/AdrianBonpin/deckyvault'
href='https://git.ranio.xyz/adrianbonpin/deckyvault'
className='text-accent opacity-60 hover:opacity-100 transition-opacity cursor-pointer'
>
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",
],
}),
}}
+4 -4
View File
@@ -185,7 +185,7 @@ const STEPS = [
<>
Download{" "}
<a
href="https://github.com/AdrianBonpin/deckyvault/releases"
href="https://git.ranio.xyz/adrianbonpin/deckyvault/releases"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline"
@@ -342,7 +342,7 @@ export function PluginPageClient() {
className="flex flex-col sm:flex-row gap-3 mt-2"
>
<a
href="https://github.com/AdrianBonpin/deckyvault/releases"
href="https://git.ranio.xyz/adrianbonpin/deckyvault/releases"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center gap-2 px-5 py-2.5 rounded-lg bg-primary text-white text-sm font-medium hover:bg-primary/90 transition-colors"
@@ -594,7 +594,7 @@ export function PluginPageClient() {
</p>
<div className="flex flex-col sm:flex-row gap-3">
<a
href="https://github.com/AdrianBonpin/deckyvault/releases"
href="https://git.ranio.xyz/adrianbonpin/deckyvault/releases"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center gap-2 px-5 py-2.5 rounded-lg bg-primary text-white text-sm font-medium hover:bg-primary/90 transition-colors"
@@ -603,7 +603,7 @@ export function PluginPageClient() {
Download ZIP
</a>
<a
href="https://github.com/AdrianBonpin/deckyvault"
href="https://git.ranio.xyz/adrianbonpin/deckyvault"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center gap-2 px-5 py-2.5 rounded-lg border border-border text-text text-sm font-medium hover:border-primary/40 hover:text-primary transition-colors"
+1 -1
View File
@@ -86,7 +86,7 @@ const jsonLd = {
"A Decky Loader plugin that records Steam Deck performance metrics (FPS, frame times, power draw) with MangoHud and uploads them to DeckyVault.",
url: CANONICAL,
downloadUrl:
"https://github.com/AdrianBonpin/deckyvault/releases",
"https://git.ranio.xyz/adrianbonpin/deckyvault/releases",
author: {
"@type": "Organization",
name: "DeckyVault",
+23 -16
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Create a GitHub release for the DeckyVault Decky plugin with the
# installable ZIP attached.
# Create a Gitea release (git.ranio.xyz/adrianbonpin/deckyvault) for the
# DeckyVault Decky plugin with the installable ZIP attached.
#
# Usage:
# ./scripts/release.sh # uses version from package.json
@@ -9,7 +9,7 @@
# ./scripts/release.sh 1.1.0 --prerelease
#
# Prerequisites:
# - gh CLI installed and authenticated (gh auth login)
# - tea CLI installed and authenticated (tea login) for the gitea.ranio.xyz login
# - on the branch you want to tag (usually prod)
#
# What it does:
@@ -108,7 +108,7 @@ Record Steam Deck performance metrics with MangoHud and upload them straight to
### From URL
1. Decky → Plugin Browser → **⋮** → **Install Plugin from URL**
2. Paste: \`https://github.com/AdrianBonpin/deckyvault/releases/download/${TAG}/${ZIP_NAME}\`
2. Paste: \`https://git.ranio.xyz/adrianbonpin/deckyvault/releases/download/${TAG}/${ZIP_NAME}\`
## Setup
1. Open the plugin (QAM → DeckyVault) → **Account** → **Pair with Phone**
@@ -123,12 +123,15 @@ Record Steam Deck performance metrics with MangoHud and upload them straight to
Full guide: https://deckyvault.xyz/plugin
EOF
# ── Create release ───────────────────────────────────────────
# ── Create release (Gitea via tea) ───────────────────────────
REPO="adrianbonpin/deckyvault"
RELEASE_ARGS=(
"$TAG"
"$ZIP_PATH"
create
--repo "$REPO"
--tag "$TAG"
--title "DeckyVault Plugin v${VERSION}"
--notes-file "$NOTES_FILE"
--note-file "$NOTES_FILE"
--target "$(git rev-parse --abbrev-ref HEAD)"
)
@@ -136,18 +139,22 @@ if [[ "$PRERELEASE" -eq 1 ]]; then
RELEASE_ARGS+=(--prerelease)
fi
if gh release view "$TAG" >/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'."