Add board and stack management for 0.3.0
Some checks are pending
Validate Decky / web-client (push) Waiting to run

This commit is contained in:
Elijah 2026-07-19 19:03:18 -07:00
parent dfb04462f3
commit 6a8c6a1eb6
16 changed files with 364 additions and 92 deletions

View file

@ -8,11 +8,11 @@ param(
[string]$Notes = "Decky $Version",
[string]$ForgejoBaseUrl = 'https://git.elijahkuntz.com',
[string]$Repository = 'Elijah/Decky',
[string]$Token = $env:FORGEJO_TOKEN
[string]$Token = $(if ($env:FORGEJO_TOKEN) { $env:FORGEJO_TOKEN } else { $env:FORGEJO_PAT })
)
$ErrorActionPreference = 'Stop'
if (-not $Token) { throw 'FORGEJO_TOKEN is required. Store it as a Forgejo Actions secret or set it only for this process.' }
if (-not $Token) { throw 'FORGEJO_TOKEN or FORGEJO_PAT is required. Set it only for this PowerShell process.' }
$repositoryRoot = Split-Path -Parent $PSScriptRoot
$releaseDirectory = Join-Path $repositoryRoot "artifacts\release\v$Version"

View file

@ -28,4 +28,9 @@ $cargoManifest = Get-Content -Raw -LiteralPath $cargoManifestPath
$cargoManifest = [regex]::Replace($cargoManifest, '(?m)(^version\s*=\s*")[^"]+("\s*$)', "`${1}$Version`${2}", 1)
[IO.File]::WriteAllText($cargoManifestPath, $cargoManifest, (New-Object Text.UTF8Encoding($false)))
Write-Host "Decky version set to $Version in npm, Tauri, and Cargo manifests."
$appSourcePath = Join-Path $appRoot 'src\App.svelte'
$appSource = Get-Content -Raw -LiteralPath $appSourcePath
$appSource = [regex]::Replace($appSource, "(?m)(let currentVersion = ')[^']+(';)", "`${1}$Version`${2}", 1)
[IO.File]::WriteAllText($appSourcePath, $appSource, (New-Object Text.UTF8Encoding($false)))
Write-Host "Decky version set to $Version in npm, Tauri, Cargo, and the browser-preview fallback."