2 Commits

Author SHA1 Message Date
Grigo aad66e3ac6 Обновить Jenkinsfile 2026-05-06 20:41:46 +00:00
Grigo 0c20bbb435 Обновить Jenkinsfile 2026-05-06 20:38:28 +00:00
Vendored
+7 -1
View File
@@ -98,7 +98,13 @@ powershell -NoProfile -ExecutionPolicy Bypass -File gitea-release.ps1
writeFile file: 'taiga-post.ps1', text: '''
$ErrorActionPreference = "Continue"
$commitMsg = git log -1 --pretty=%B
$commitMsg = git log -1 --pretty=%B 2>$null
if ([string]::IsNullOrWhiteSpace($commitMsg)) {
Write-Host "No git commit message available"
exit 0
}
$match = [regex]::Match($commitMsg, 'TG-(\\d+)')
if (-not $match.Success) {