# scripts/publish-gh.ps1 # Automated release script using GitHub CLI (`gh`) param ( [string]$Tag = "v1.1.0" ) Write-Host "=========================================" -ForegroundColor Cyan Write-Host " D3RO Voice — GitHub Release Script (gh)" -ForegroundColor Cyan Write-Host "=========================================" -ForegroundColor Cyan # Verify gh CLI login gh auth status if ($LASTEXITCODE -ne 0) { Write-Error "GitHub CLI (`gh`) authentication required. Please run 'gh auth login'." exit 1 } Write-Host "Creating GitHub Release $Tag..." -ForegroundColor Yellow gh release create $Tag --title "D3RO Voice $Tag — Standalone GGUF & C# .NET API Backend" --notes "Release containing standalone GGUF model runner, C# ASP.NET Core API server, and BackOffice Admin UI." Write-Host "GitHub Release $Tag successfully created and published!" -ForegroundColor Green