Fix powershell merge with no changes to translations

This commit is contained in:
Jonathan White 2022-10-23 09:19:36 -04:00
parent 3efad4e14b
commit 4030dbc4b4
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -290,8 +290,8 @@ if ($Merge) {
Invoke-Cmd "tx" "pull -af --minimum-perc=60 --parallel -r keepassxc.share-translations-keepassxc-en-ts--develop" Invoke-Cmd "tx" "pull -af --minimum-perc=60 --parallel -r keepassxc.share-translations-keepassxc-en-ts--develop"
# Only commit if there are changes # Only commit if there are changes
& git diff-index --quiet HEAD -- $changes = & git status --porcelain
if ($LASTEXITCODE) { if ($changes.Length > 0) {
Write-Host "Committing translation updates..." Write-Host "Committing translation updates..."
Invoke-Cmd "git" "add -A ./share/translations/" -quiet Invoke-Cmd "git" "add -A ./share/translations/" -quiet
Invoke-Cmd "git" "commit -m `"Update translations`"" -quiet Invoke-Cmd "git" "commit -m `"Update translations`"" -quiet
@ -429,8 +429,8 @@ if ($Merge) {
# SIG # Begin signature block # SIG # Begin signature block
# MIIkvgYJKoZIhvcNAQcCoIIkrzCCJKsCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # MIIkvgYJKoZIhvcNAQcCoIIkrzCCJKsCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU7XPI0rkE0K+tjo2rCMeHtdZz # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUccSicCrmJ6HTiKZr9ZV5mT6i
# Homggh6mMIIFOjCCBCKgAwIBAgIQWKLXLYzA/YnM/yHg1O3HSjANBgkqhkiG9w0B # 9sqggh6mMIIFOjCCBCKgAwIBAgIQWKLXLYzA/YnM/yHg1O3HSjANBgk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