From 4753142b41093c53b89ca0cd25bf8db07094800d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Seku=C5=82a?= Date: Thu, 26 Jan 2023 14:31:40 +0100 Subject: [PATCH] [AAE-11496] Publish npm package using https (#2930) --- scripts/ci/npm/publish-libs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ci/npm/publish-libs.sh b/scripts/ci/npm/publish-libs.sh index 256bc9c20..f514d4cae 100755 --- a/scripts/ci/npm/publish-libs.sh +++ b/scripts/ci/npm/publish-libs.sh @@ -70,11 +70,11 @@ do echo "npm deprecate @alfresco/$PROJECT@$PREVIOUS_LIBRARY_VERSION 'Upgrade to @latest or $NEW_LIBRARY_VERSION'" else - echo -e "Publish $PROJECT\n" + echo -e "======== Publishing project: $PROJECT ========\n" echo -e "npm publish --tag $TAG_NPM\n" - echo 'strict-ssl=false' >> .npmrc - echo 'registry=http://${NPM_REGISTRY_ADDRESS}' >> .npmrc + echo 'strict-ssl=true' >> .npmrc + echo 'registry=https://${NPM_REGISTRY_ADDRESS}' >> .npmrc echo '//${NPM_REGISTRY_ADDRESS}/:_authToken="${NPM_REGISTRY_TOKEN}"' >> .npmrc npm publish --tag $TAG_NPM