Hinzufügen der Batch-Datei zum Erstellen von Release-Tags
All checks were successful
Release Plugin / release (push) Successful in 5s

This commit is contained in:
Michael Otto
2026-03-13 10:04:04 +01:00
parent 46d23087e2
commit 524c26e64e

41
create_release_tag.bat Normal file
View File

@@ -0,0 +1,41 @@
@echo off
setlocal enabledelayedexpansion
echo Erstelle einen neuen Release-Tag
echo.
set /p CHANNEL="Kanal eingeben (stable/testing/unstable): "
set /p VERSION="Version eingeben (z.B. 26.3.8): "
if "%CHANNEL%"=="stable" (
set TAG=v%VERSION%
) else if "%CHANNEL%"=="testing" (
set TAG=v%VERSION%-testing
) else if "%CHANNEL%"=="unstable" (
set TAG=v%VERSION%-unstable
) else (
echo Ungueltiger Kanal. Verwende 'stable', 'testing' oder 'unstable'.
pause
exit /b 1
)
echo Erstelle Tag: %TAG%
git tag %TAG%
if %errorlevel% neq 0 (
echo Fehler beim Erstellen des Tags.
pause
exit /b 1
)
echo Pushe Tag: %TAG%
git push origin %TAG%
if %errorlevel% neq 0 (
echo Fehler beim Pushen des Tags.
pause
exit /b 1
)
echo Tag %TAG% erfolgreich erstellt und gepusht.
pause