Skip to content

Commit 6323d6f

Browse files
committed
Fix a powershell command
1 parent 1176998 commit 6323d6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
$additionalPublishArgs += '--packagePath'
5757
$additionalPublishArgs += Get-ChildItem $publishArtifacts *.vsix
5858
59-
if ($({ parameters.test-run })) {
59+
If ("$({ parameters.test-run })" -eq "true") {
6060
Write-Host "In test mode, command is printed instead of run."
6161
Write-Host "Command run is: vsce $($additionalPublishArgs)."
6262
Write-Host "🔒 Verify PAT."
6363
vsce verify-pat ms-dotnettools
6464
}
65-
else {
65+
Else {
6666
vsce @additionalPublishArgs
6767
}
6868
displayName: 🚀 Publish to Marketplace

0 commit comments

Comments
 (0)