File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,15 @@ stages:
47
47
npm install --global vsce
48
48
displayName: 'Install vsce'
49
49
- pwsh : |
50
- $artifactFolderPrefix = "VSIX_Release_ "
50
+ $artifactFolder = "VSIX_Release "
51
51
if ("${{ parameters.uploadPrerelease }}" -eq "true") {
52
- $artifactFolderPrefix = "VSIX_Prerelease_ "
52
+ $artifactFolder = "VSIX_Prerelease "
53
53
}
54
54
55
- Write-Host "Using artifacts from $artifactFolderPrefix "
55
+ Write-Host "Using artifacts from $artifactFolder "
56
56
57
57
# 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
59
59
if ($allArtifacts.Length -eq 0) {
60
60
throw "No Artifacts is downloaded."
61
61
}
You can’t perform that action at this time.
0 commit comments