diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index d2a4ec408e03..5eb64850e6c5 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -152,7 +152,7 @@ stages: steps: - checkout: self - pwsh: | - $adjustedName = "${{artifact.name}}".Replace("azure-", "") + $adjustedName = "${{artifact.name}}" -replace "^azure-", "" Write-Host "##vso[task.setvariable variable=Documentation.Zip]$adjustedName" displayName: Set Documentation File Name - template: /eng/pipelines/templates/steps/stage-artifacts.yml