Prompt for Forgejo token during release publishing
This commit is contained in:
parent
1bea5547a6
commit
e9d76cc4a2
3 changed files with 41 additions and 1 deletions
24
scripts/Publish-DeckyRelease.cmd
Normal file
24
scripts/Publish-DeckyRelease.cmd
Normal 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%
|
||||
Loading…
Add table
Add a link
Reference in a new issue