We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52899d8 + 7f14b33 commit 1324b2dCopy full SHA for 1324b2d
scripts/cut-release.ps1
@@ -91,7 +91,8 @@ if ($branch -ne 'main')
91
Invoke-Git @('pull', '--ff-only')
92
93
# Require clean working tree
94
-$statusPorcelain = (& git status --porcelain).Trim()
+$statusPorcelain = (& git status --porcelain) | Out-String
95
+$statusPorcelain = $statusPorcelain.Trim()
96
if ($LASTEXITCODE -ne 0)
97
{
98
Fail "Unable to read git status."
0 commit comments