Skip to content

Commit

Permalink
fix: fix npm dist-tag 401 error (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Oct 29, 2019
1 parent e44a9cc commit ff19902
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- bash: |
echo "##vso[task.setvariable variable=PACKAGE_VERSION]$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')"
echo "##vso[task.setvariable variable=CURRENT_GIT_TAG]$(git describe --tags | tr -d '[:space:]')"
echo "//registry.npmjs.org/:_authToken=$(NPM_TOKEN)" >> .npmrc
- script: npm dist-tag add aws-spot-price@$(PACKAGE_VERSION) $(CURRENT_GIT_TAG)
displayName: "NPM dist-tag $(CURRENT_GIT_TAG)"
env:
Expand Down

0 comments on commit ff19902

Please sign in to comment.