Replace only first azure- to generate package name (#13319)
* Replace only first azure- to generate package name
This commit is contained in:
Родитель
1cc225f82b
Коммит
ace0b79ba3
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче