Skip to content

Commit 8fa357a

Browse files
committed
Fix release yaml
1 parent 001434f commit 8fa357a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

azure-pipelines/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ stages:
4747
npm install --global vsce
4848
displayName: 'Install vsce'
4949
- pwsh: |
50-
$artifactFolderPrefix = "VSIX_Release_"
50+
$artifactFolder = "VSIX_Release"
5151
if ("${{ parameters.uploadPrerelease }}" -eq "true") {
52-
$artifactFolderPrefix = "VSIX_Prerelease_"
52+
$artifactFolder = "VSIX_Prerelease"
5353
}
5454
55-
Write-Host "Using artifacts from $artifactFolderPrefix"
55+
Write-Host "Using artifacts from $artifactFolder"
5656
5757
# Our build pipeline would generated build based on attempt number. Publishing the latest attempt.
58-
$allArtifacts = Get-ChildItem -Path "$artifactFolderPrefix*" | Sort-Object -Descending
58+
$allArtifacts = Get-ChildItem -Path "$artifactFolder*" | Sort-Object -Descending
5959
if ($allArtifacts.Length -eq 0) {
6060
throw "No Artifacts is downloaded."
6161
}

0 commit comments

Comments
 (0)