Skip to content

Commit ec47f27

Browse files
Add customEndpoint properties to Npm tasks (#631)
1 parent cdf57a1 commit ec47f27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ extends:
6464
customCommand: publish --tag prerelease
6565
workingDir: '_build'
6666
publishRegistry: useExternalRegistry
67+
customEndpoint: btt-npm-publish-token
6768
publishEndpoint: btt-npm-publish-token
6869
continueOnError: true
6970
- stage: Release
@@ -92,6 +93,7 @@ extends:
9293
customCommand: dist-tag remove "$(npm_package)" prerelease
9394
workingDir: '_build'
9495
publishRegistry: useExternalRegistry
96+
customEndpoint: btt-npm-publish-token
9597
publishEndpoint: btt-npm-publish-token
9698
- task: Npm@1
9799
displayName: Add latest tag for azure-devops-node-api in Npm
@@ -101,4 +103,5 @@ extends:
101103
customCommand: dist-tag add "$(npm_package)" latest
102104
workingDir: '_build'
103105
publishRegistry: useExternalRegistry
106+
customEndpoint: btt-npm-publish-token
104107
publishEndpoint: btt-npm-publish-token

0 commit comments

Comments
 (0)