Migrate GitHub links to Gitea + release plugin via tea #3
@@ -154,7 +154,7 @@ The Decky Loader plugin uses a dual architecture: a React/TypeScript frontend (r
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/AdrianBonpin/deckyvault.git
|
git clone https://git.ranio.xyz/adrianbonpin/deckyvault.git
|
||||||
cd deckyvault
|
cd deckyvault
|
||||||
bun install
|
bun install
|
||||||
```
|
```
|
||||||
@@ -349,9 +349,9 @@ deckyvault/
|
|||||||
|
|
||||||
Contributions are welcome. Here's how to get involved:
|
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
|
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
|
### Guidelines
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export const metadata: Metadata = {
|
|||||||
"compatibility",
|
"compatibility",
|
||||||
],
|
],
|
||||||
authors: [
|
authors: [
|
||||||
{ name: "Adrian Bonpin", url: "https://github.com/AdrianBonpin" },
|
{ name: "Adrian Bonpin", url: "https://git.ranio.xyz/adrianbonpin" },
|
||||||
],
|
],
|
||||||
creator: "@adrianbonpin",
|
creator: "@adrianbonpin",
|
||||||
openGraph: {
|
openGraph: {
|
||||||
|
|||||||
@@ -512,7 +512,7 @@ export default function Landing() {
|
|||||||
<span className='opacity-60'>2026 DeckyVault.</span>
|
<span className='opacity-60'>2026 DeckyVault.</span>
|
||||||
<Link
|
<Link
|
||||||
title='Visit our Github Repository'
|
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'
|
className='text-accent opacity-60 hover:opacity-100 transition-opacity cursor-pointer'
|
||||||
>
|
>
|
||||||
Github.
|
Github.
|
||||||
@@ -596,7 +596,7 @@ export default function Landing() {
|
|||||||
url: "https://deckyvault.xyz",
|
url: "https://deckyvault.xyz",
|
||||||
logo: "https://deckyvault.xyz/icon.png",
|
logo: "https://deckyvault.xyz/icon.png",
|
||||||
sameAs: [
|
sameAs: [
|
||||||
"https://github.com/AdrianBonpin/deckyvault",
|
"https://git.ranio.xyz/adrianbonpin/deckyvault",
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ const STEPS = [
|
|||||||
<>
|
<>
|
||||||
Download{" "}
|
Download{" "}
|
||||||
<a
|
<a
|
||||||
href="https://github.com/AdrianBonpin/deckyvault/releases"
|
href="https://git.ranio.xyz/adrianbonpin/deckyvault/releases"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="text-primary hover:underline"
|
className="text-primary hover:underline"
|
||||||
@@ -342,7 +342,7 @@ export function PluginPageClient() {
|
|||||||
className="flex flex-col sm:flex-row gap-3 mt-2"
|
className="flex flex-col sm:flex-row gap-3 mt-2"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/AdrianBonpin/deckyvault/releases"
|
href="https://git.ranio.xyz/adrianbonpin/deckyvault/releases"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
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"
|
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>
|
</p>
|
||||||
<div className="flex flex-col sm:flex-row gap-3">
|
<div className="flex flex-col sm:flex-row gap-3">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/AdrianBonpin/deckyvault/releases"
|
href="https://git.ranio.xyz/adrianbonpin/deckyvault/releases"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
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"
|
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
|
Download ZIP
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/AdrianBonpin/deckyvault"
|
href="https://git.ranio.xyz/adrianbonpin/deckyvault"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
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"
|
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"
|
||||||
|
|||||||
@@ -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.",
|
"A Decky Loader plugin that records Steam Deck performance metrics (FPS, frame times, power draw) with MangoHud and uploads them to DeckyVault.",
|
||||||
url: CANONICAL,
|
url: CANONICAL,
|
||||||
downloadUrl:
|
downloadUrl:
|
||||||
"https://github.com/AdrianBonpin/deckyvault/releases",
|
"https://git.ranio.xyz/adrianbonpin/deckyvault/releases",
|
||||||
author: {
|
author: {
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
name: "DeckyVault",
|
name: "DeckyVault",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Create a GitHub release for the DeckyVault Decky plugin with the
|
# Create a Gitea release (git.ranio.xyz/adrianbonpin/deckyvault) for the
|
||||||
# installable ZIP attached.
|
# DeckyVault Decky plugin with the installable ZIP attached.
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# ./scripts/release.sh # uses version from package.json
|
# ./scripts/release.sh # uses version from package.json
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
# ./scripts/release.sh 1.1.0 --prerelease
|
# ./scripts/release.sh 1.1.0 --prerelease
|
||||||
#
|
#
|
||||||
# Prerequisites:
|
# 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)
|
# - on the branch you want to tag (usually prod)
|
||||||
#
|
#
|
||||||
# What it does:
|
# What it does:
|
||||||
@@ -108,7 +108,7 @@ Record Steam Deck performance metrics with MangoHud and upload them straight to
|
|||||||
|
|
||||||
### From URL
|
### From URL
|
||||||
1. Decky → Plugin Browser → **⋮** → **Install Plugin 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
|
## Setup
|
||||||
1. Open the plugin (QAM → DeckyVault) → **Account** → **Pair with Phone**
|
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
|
Full guide: https://deckyvault.xyz/plugin
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# ── Create release ───────────────────────────────────────────
|
# ── Create release (Gitea via tea) ───────────────────────────
|
||||||
|
REPO="adrianbonpin/deckyvault"
|
||||||
|
|
||||||
RELEASE_ARGS=(
|
RELEASE_ARGS=(
|
||||||
"$TAG"
|
create
|
||||||
"$ZIP_PATH"
|
--repo "$REPO"
|
||||||
|
--tag "$TAG"
|
||||||
--title "DeckyVault Plugin v${VERSION}"
|
--title "DeckyVault Plugin v${VERSION}"
|
||||||
--notes-file "$NOTES_FILE"
|
--note-file "$NOTES_FILE"
|
||||||
--target "$(git rev-parse --abbrev-ref HEAD)"
|
--target "$(git rev-parse --abbrev-ref HEAD)"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -136,18 +139,22 @@ if [[ "$PRERELEASE" -eq 1 ]]; then
|
|||||||
RELEASE_ARGS+=(--prerelease)
|
RELEASE_ARGS+=(--prerelease)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if gh release view "$TAG" >/dev/null 2>&1; then
|
if tea release list -r "$REPO" -o simple 2>/dev/null | grep -q "^$TAG"; then
|
||||||
echo "› Release $TAG exists — updating asset + notes"
|
echo "› Release $TAG exists — updating notes + asset"
|
||||||
gh release upload "$TAG" "$ZIP_PATH" --clobber >/dev/null
|
tea release edit "$TAG" --repo "$REPO" \
|
||||||
gh release edit "$TAG" --title "DeckyVault Plugin v${VERSION}" --notes-file "$NOTES_FILE" >/dev/null
|
--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
|
else
|
||||||
echo "› Creating GitHub release $TAG…"
|
echo "› Creating Gitea release $TAG…"
|
||||||
gh release create "${RELEASE_ARGS[@]}"
|
tea release "${RELEASE_ARGS[@]}" --asset "$ZIP_PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "✓ Released v${VERSION}"
|
echo "✓ Released v${VERSION}"
|
||||||
echo " Release: https://github.com/AdrianBonpin/deckyvault/releases/tag/${TAG}"
|
echo " Release: https://git.ranio.xyz/adrianbonpin/deckyvault/releases/tag/${TAG}"
|
||||||
echo " ZIP URL: https://github.com/AdrianBonpin/deckyvault/releases/download/${TAG}/${ZIP_NAME}"
|
echo " ZIP URL: https://git.ranio.xyz/adrianbonpin/deckyvault/releases/download/${TAG}/${ZIP_NAME}"
|
||||||
echo
|
echo
|
||||||
echo "Use the ZIP URL above with Decky's 'Install Plugin from URL'."
|
echo "Use the ZIP URL above with Decky's 'Install Plugin from URL'."
|
||||||
Reference in New Issue
Block a user