File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.azure-pipelines/generation-templates Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ parameters:
3131- name : metadataAnnotationsCopyScriptPath
3232 type : string
3333 default : ' $(metadataTypeSpecAnnotationsSource)/../scripts/copy-annotations-to-csdl.ps1'
34-
35- variables :
36- sanitizedEndpoint : $[replace(parameters['endpoint'], '/', ''))]
34+ - name : sanitizedEndpoint
35+ type : string
36+ default : $[replace(parameters['endpoint'], '/', ''))]
3737
3838steps :
3939
9999 endpointVersion : ${{ parameters.endpoint }}
100100 displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata'
101101
102- - pwsh : ' $(metadataAnnotationsCopyScriptPath) -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$( sanitizedEndpoint) _metadata/cleanMetadataWithDescriptions${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/$(metadataTypeSpecAnnotationsOutputDir)"'
102+ - pwsh : ' $(metadataAnnotationsCopyScriptPath) -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_${{ parameters. sanitizedEndpoint }} _metadata/cleanMetadataWithDescriptions${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/$(metadataTypeSpecAnnotationsOutputDir)"'
103103
104104 # # Only run if the previous step was successful
105105- pwsh : ' $(scriptsDirectory)/run-typewriter-clean-metadata.ps1'
You can’t perform that action at this time.
0 commit comments