Fix: Canary NPM publishing (#66734)
fix(npm-publishing): strip protocol from registry so npm can auth correctly
This commit is contained in:
1 parent
e97befa221
commit
5d4bf19efb
2 files changed
+3
-2
No files matched your search
@@ -36,7 +36,9 @@ done
|
||||
|
||||
echo "Starting to release $dist_tag version"
|
||||
|
||||
echo "$registry/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
|
||||
registry_without_protocol=${registry#*:}
|
||||
|
||||
echo "$registry_without_protocol/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
|
||||
|
||||
# Loop over .tar files in directory and publish them to npm registry
|
||||
for file in ./npm-artifacts/*.tgz; do
|
||||
|
||||
Reference in new issue
Block a user