@@ -3,14 +3,17 @@ pr: none # Disable PR trigger
33
44# Choose a package to publish at the time of job creation
55parameters :
6- - name : PackageToPublish
6+ - name : packageToPublish
77 displayName : Package to Publish
88 type : string
99 default : microsoft-compose-language-service
10- - name : BranchToPublish
11- displayName : Branch to Publish
10+ - name : publishVersion
11+ displayName : Publish Version
1212 type : string
13- default : " refs/heads/main"
13+ - name : dryRun
14+ displayName : Dry Run
15+ type : boolean
16+ default : false
1417
1518# Grab the base templates from https://github.com/microsoft/vscode-azuretools/tree/main/azure-pipelines
1619resources :
@@ -20,13 +23,16 @@ resources:
2023 name : microsoft/vscode-azuretools
2124 ref : main
2225 endpoint : GitHub-AzureTools
26+ pipelines :
27+ - pipeline : build # This must be "build"
28+ source : \Azure Tools\VSCode\Packages\compose-language-service # name of the pipeline that produces the artifacts
2329
2430# Use those base templates
2531extends :
2632 template : azure-pipelines/1es-release-npm.yml@templates
2733 parameters :
28- PackageToPublish : ${{ parameters.PackageToPublish }}
29- BranchToPublish : ${{ parameters.BranchToPublish }}
30- PipelineDefinition : 20290
34+ packageToPublish : ${{ parameters.packageToPublish }}
35+ publishVersion : ${{ parameters.publishVersion }}
36+ dryRun : ${{ parameters.dryRun }}
3137 OwnerAlias : " devinb"
3238 ApproverAlias : " bwater"
0 commit comments