Prompt for Forgejo token during release publishing

This commit is contained in:
Elijah 2026-07-19 19:18:15 -07:00
parent 1bea5547a6
commit e9d76cc4a2
3 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,24 @@
@echo off
setlocal
title Publish Decky Release
cd /d "%~dp0.."
echo Decky Forgejo release publisher
echo.
echo This creates the Forgejo release, uploads the signed installer,
echo and updates releases/latest.json for Decky's in-app updater.
echo.
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0Publish-ForgejoRelease.ps1"
set "DECKY_RESULT=%ERRORLEVEL%"
echo.
if not "%DECKY_RESULT%"=="0" (
echo Publishing failed. The error is shown above.
echo No successful release should be assumed until the script says it was published.
) else (
echo Publishing completed successfully.
)
echo.
pause
exit /b %DECKY_RESULT%