Some checks failed
CI Pipeline / Code Quality & Typecheck (push) Waiting to run
CI Pipeline / Test Suite (macos-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (ubuntu-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (windows-latest) (push) Blocked by required conditions
CI Pipeline / Build Validation (admin) (push) Blocked by required conditions
CI Pipeline / Build Validation (desktop) (push) Blocked by required conditions
Deploy Landing Page / deploy (push) Blocked by required conditions
Deploy Landing Page / build (push) Waiting to run
Release & Packaging Pipeline / Build & Publish Admin Docker Image (push) Failing after 8s
Release & Code Signing CA Pipeline / build-and-sign-windows (push) Failing after 1m51s
Build macOS / Build & Package (macOS) (push) Failing after 4s
Build macOS / Build & Package (macOS)-1 (push) Failing after 5s
Release & Code Signing CA Pipeline / build-and-sign-macos (push) Failing after 3s
Release & Packaging Pipeline / Package macOS Desktop App (push) Failing after 4s
Release & Packaging Pipeline / Package Windows Desktop App (push) Failing after 2m28s
Release & Packaging Pipeline / Publish Official GitHub Release (push) Has been skipped
23 lines
882 B
PowerShell
23 lines
882 B
PowerShell
# 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
|