Skip to content

Commit ace0b79

Browse files
Replace only first azure- to generate package name (Azure#13319)
* Replace only first azure- to generate package name
1 parent 1cc225f commit ace0b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/pipelines/templates/stages/archetype-js-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ stages:
152152
steps:
153153
- checkout: self
154154
- pwsh: |
155-
$adjustedName = "${{artifact.name}}".Replace("azure-", "")
155+
$adjustedName = "${{artifact.name}}" -replace "^azure-", ""
156156
Write-Host "##vso[task.setvariable variable=Documentation.Zip]$adjustedName"
157157
displayName: Set Documentation File Name
158158
- template: /eng/pipelines/templates/steps/stage-artifacts.yml

0 commit comments

Comments
 (0)