From 6e652de77e4457c89cf98942d05411b8a8548802 Mon Sep 17 00:00:00 2001 From: Levi <141682181+levisingularity@users.noreply.github.com> Date: Thu, 12 Sep 2024 08:41:04 -0300 Subject: [PATCH] Improve dependency update prompt (#102) --- scripts/deployment/hooks/common/dependency-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deployment/hooks/common/dependency-check.sh b/scripts/deployment/hooks/common/dependency-check.sh index 12f61bc..65740a3 100644 --- a/scripts/deployment/hooks/common/dependency-check.sh +++ b/scripts/deployment/hooks/common/dependency-check.sh @@ -3,7 +3,7 @@ set -e if [ "$is_dependency_updated" -eq 0 ]; then - if boolean_prompt "Dependency $dependency has not been updated prior to the current package. Would you like to get the current version from the repo? [yes/no] "; then + if boolean_prompt "$dependency hasn't been updated during this release process. Do you want to fetch the latest version from the repository? [yes/no]"; then dependency_definition=$(retrieve_json_object_with_property_value "$definitions" "name" "$dependency") IFS='|' read -r dependency_package_name package_repository package_workflow package_repo_ref package_hooks <<<"$(extract_package_details "$dependency_definition")"