sync SVN
This commit is contained in:
@@ -71,8 +71,8 @@ if ($branch -ne 'main') {
|
||||
}
|
||||
|
||||
# reconciliere + push conditionat: doar commit-urile de sync se publica automat
|
||||
& git -C $ProjectRoot remote get-url origin *> $null
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
$remote = & git -C $ProjectRoot remote 2>$null
|
||||
if ($remote -notcontains 'origin') {
|
||||
$avertismente += 'fara remote origin: repo doar local (creeaza-l in gitea si adauga remote-ul)'
|
||||
} else {
|
||||
& git -C $ProjectRoot fetch origin 2>&1 | Out-Null
|
||||
|
||||
Reference in New Issue
Block a user