File tree Expand file tree Collapse file tree 4 files changed +36
-5
lines changed Expand file tree Collapse file tree 4 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "changes" : [
3+ {
4+ "comment" : " " ,
5+ "type" : " none" ,
6+ "packageName" : " @microsoft/tsdoc"
7+ }
8+ ],
9+ "packageName" : " @microsoft/tsdoc" ,
10+ 11+ }
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ extends:
3131 - output : pipelineArtifact
3232 targetPath : $(Build.ArtifactStagingDirectory)/published-versions
3333 artifactName : published-versions
34+ - output : pipelineArtifact
35+ targetPath : $(Build.ArtifactStagingDirectory)/json-schemas
36+ artifactName : json-schemas
3437 steps :
3538 - checkout : self
3639 persistCredentials : true
@@ -42,4 +45,4 @@ extends:
4245
4346 - template : /common/config/azure-pipelines/templates/publish.yaml@self
4447
45- - template : /common/config/azure-pipelines/templates/record-published-versions .yaml@self
48+ - template : /common/config/azure-pipelines/templates/post-publish .yaml@self
Original file line number Diff line number Diff line change 2222 displayName : ' Record Published Versions'
2323 workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
2424
25- # Published by the 1ES template
26- # - publish: $(Build.ArtifactStagingDirectory)/published-versions
27- # artifact: published-versions
28- # displayName: 'Publish Artifact: published-versions'
25+ - script : ' node repo-scripts/repo-toolbox/lib/start.js collect-json-schemas --output-path $(Build.ArtifactStagingDirectory)/json-schemas '
26+ displayName : ' Collect JSON Schemas '
27+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc '
28+
Original file line number Diff line number Diff line change 2323 ]
2424 }
2525 }
26+ },
27+
28+ "copy-json-schemas" : {
29+ "taskPlugin" : {
30+ "pluginPackage" : " @rushstack/heft" ,
31+ "pluginName" : " copy-files-plugin" ,
32+ "options" : {
33+ "copyOperations" : [
34+ {
35+ "sourcePath" : " src/schemas/v0" ,
36+ "destinationFolders" : [" temp/json-schemas/tsdoc" ],
37+ "fileExtensions" : [" .schema.json" ],
38+ "hardlink" : true
39+ }
40+ ]
41+ }
42+ }
2643 }
2744 }
2845 }
You can’t perform that action at this time.
0 commit comments