Enforce recipient-bound single-use invites and fix issue card layout; clean release tooling
Magent CI/CD / verify (push) Successful in 10m31s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Skipped

This commit is contained in:
2026-09-07 19:59:51 +12:00
parent 13edcb8136
commit a3b5759708
19 changed files with 439 additions and 305 deletions
+3 -10
View File
@@ -5,6 +5,7 @@ param(
)
$ErrorActionPreference = "Stop"
. (Join-Path $PSScriptRoot 'env_build_number.ps1')
$repoRoot = Resolve-Path "$PSScriptRoot\.."
Set-Location $repoRoot
@@ -172,16 +173,8 @@ function Update-BuildFiles {
$envPath = Join-Path $repoRoot ".env"
if (Test-Path $envPath) {
$envContent = Read-TextFile -Path ".env"
if ($envContent -match '^BUILD_NUMBER=.*$') {
$updatedEnv = [regex]::Replace(
$envContent,
'^BUILD_NUMBER=.*$',
"BUILD_NUMBER=$BuildNumber",
[System.Text.RegularExpressions.RegexOptions]::Multiline
)
} else {
$updatedEnv = "BUILD_NUMBER=$BuildNumber`n$envContent"
}
# Remove previous assignments before adding exactly one build number.
$updatedEnv = Set-EnvBuildNumber -Content $envContent -BuildNumber $BuildNumber
Write-TextFile -Path ".env" -Content $updatedEnv
}