Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
ckairen committed Nov 8, 2024
1 parent d12b624 commit c5d6e54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/npm-release-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ steps:
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
MainPublisher: 'ESRPRELPACMANTEST'
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
productstate: ${{parameters.Tag}}
productstate: 'dev' #${{parameters.Tag}}

- task: Powershell@2
displayName: Verify package tags
Expand Down
3 changes: 2 additions & 1 deletion eng/scripts/verify-npm-tags.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ if ($packageDistTags."$intendedTag" -ne $intendedTagVersion) {

Write-Host "Setting AuthToken Deployment"
$regAuth = "//registry.npmjs.org/"
npm config set $regAuth`:_authToken=$npmToken
$env:NPM_TOKEN=$npmToken
npm config set $regAuth`:_authToken=`$`{NPM_TOKEN`}

foreach($tag in $correctDistTags.PSObject.Properties) {
Write-Host "npm dist-tag add $packageName@$($tag.value) $($tag.Name)"
Expand Down

0 comments on commit c5d6e54

Please sign in to comment.