From 2e348ca3dabb118cf0868a0e68ad154824cc300d Mon Sep 17 00:00:00 2001 From: Juan Carlos Blanco Delgado Date: Mon, 19 Feb 2024 07:08:31 +0000 Subject: [PATCH] refactor: updating entry point script with minor tweaks to commands for more clarity --- release-it-entrypoint.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release-it-entrypoint.sh b/release-it-entrypoint.sh index f8fe068..23c53ed 100755 --- a/release-it-entrypoint.sh +++ b/release-it-entrypoint.sh @@ -90,6 +90,7 @@ PATH=${NPM_GLOBAL_DIR}/bin:${PATH} mkdir -p "${NPM_GLOBAL_DIR}" export NPM_CONFIG_PREFIX="${NPM_GLOBAL_DIR}" +export NPM_CONFIG_PROGRESS=false export NPM_CONFIG_UPDATE_NOTIFIER=false # Split the plugin list into an installable command @@ -99,8 +100,8 @@ RELEASE_IT_PLUGINS_SEPARATED="${RELEASE_IT_PLUGINS_LIST[*]}" echo "Installing release-it..." # To streamline the installation process, globally install release-it along with any required plugins. # shellcheck disable=SC2086 # The variable RELEASE_IT_PLUGINS_SEPARATED is appropriately split to facilitate the installation of plugins. -npm install --silent -g release-it@${RELEASE_IT_VERSION} ${RELEASE_IT_PLUGINS_SEPARATED} +npm install --silent --global release-it@${RELEASE_IT_VERSION} ${RELEASE_IT_PLUGINS_SEPARATED} -# Execute the provided command +# Execute the provided command to release-it echo "Executing release-it..." exec "$@"