mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: Canary NPM publishing (#66734)
fix(npm-publishing): strip protocol from registry so npm can auth correctly
This commit is contained in:
parent
e97befa221
commit
5d4bf19efb
@ -100,7 +100,6 @@ const mainConfig: StorybookConfig = {
|
||||
savePropValueAsString: true,
|
||||
},
|
||||
},
|
||||
|
||||
webpackFinal: async (config) => {
|
||||
// expose jquery as a global so jquery plugins don't break at runtime.
|
||||
config.module?.rules?.push({
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user