Keep CED workstation Wi-Fi available before sign-in and package release 0.6.22

This commit is contained in:
alexrg committed 2026-10-14 15:48:44 -06:00
1 parent 2cca02db35
commit bfa520dec8
9 files changed
+386 -57

No files matched your search

+8 -1
View File
@@ -23,6 +23,7 @@ $assetPaths = @(
(Join-Path $ReleaseDirectory "sgu-server-bootstrap-$Version.zip"),
(Join-Path $ReleaseDirectory "sgu-linux-client-bootstrap-$Version.zip"),
(Join-Path $ReleaseDirectory "sgu-azure-infrastructure-$Version.zip"),
(Join-Path $ReleaseDirectory "sgu-ced-wifi-policy-$Version.zip"),
(Join-Path $ReleaseDirectory "SHA256SUMS-$Version.txt")
)
foreach ($assetPath in $assetPaths) {
@@ -143,7 +144,8 @@ Las contraseñas se solicitan de forma interactiva y no se escriben en archivos
target_commitish = $TargetCommitish
name = "SGU Credential Provider $Version"
body = $releaseNotes
draft = [bool]$Draft
# Keep the release private until every attachment has uploaded.
draft = $true
prerelease = $Version -match '-'
}
@@ -175,6 +177,11 @@ Las contraseñas se solicitan de forma interactiva y no se escriben en archivos
}
}
if (-not $Draft) {
$release = Invoke-GiteaJson -Method ([Net.Http.HttpMethod]::Patch) `
-RelativeUri "$repositoryPath/releases/$($release.id)" -Body @{draft=$false}
}
[pscustomobject]@{
Tag = $tagName
ReleaseName = $release.name