diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index 281d7edae9b..12cb6ffb05d 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -6,7 +6,19 @@ parameters: default: $(Build.SourceBranchName) steps: - - script: 'node common/scripts/install-run-rush.js publish --apply --publish --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public' - displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' - env: - NPM_AUTH_TOKEN: $(npmToken) + - task: EsrpRelease@7 + inputs: + connectedservicename: 'odsp-web-esrp' + keyvaultname: 'odsp-web-esrp' + authcertname: 'esrp-cert' + signcertname: 'esrp-sign' + clientid: 'be2088dc-be24-46c8-b0b1-aa555603f375' + intent: 'PackageDistribution' + contenttype: 'npm' + folderlocation: '$(System.DefaultWorkingDirectory)/ts/out/pkg' + waitforreleasecompletion: true + owners: 'odspxfun@microsoft.com' + approvers: 'odspxfun@microsoft.com' + serviceendpointurl: 'https://api.esrp.microsoft.com' + mainpublisher: 'ESRPRELPACMAN' + domaintenantid: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'