Do not refer to $npmTag which does not exist (#16075)

`--access` is not required either since we now specify that in the package.json file
This commit is contained in:
Jacob Overgaard
2024-04-18 10:22:11 +02:00
committed by GitHub
parent 8247360700
commit 337d547698

View File

@@ -768,7 +768,7 @@ stages:
# Find the first .tgz file in the current directory and publish it
files=( ./*.tgz )
npm publish --access public "${files[0]}"
npm publish "${files[0]}"
displayName: Push to npm (MyGet)
workingDirectory: $(Pipeline.Workspace)/npm
@@ -822,7 +822,7 @@ stages:
# Find the first .tgz file in the current directory and publish it
files=( ./*.tgz )
npm publish --tag $npmTag --access public "${files[0]}"
npm publish "${files[0]}"
displayName: Push to npm
workingDirectory: $(Pipeline.Workspace)/npm