@@ -124,7 +124,7 @@ echo ""
124124echo " Scripts Directory: $SCRIPTS "
125125echo " Project Directory: $ROOT "
126126echo " Target Version: $TARGET_VERSION "
127- echo " Current Version: $SOURCE_VERSION "
127+ echo " Current Version: $CURRENT_VERSION "
128128echo " Source Package: $PACKAGE "
129129echo " Base Branch: $BASE "
130130echo " Selected Items: $ITEMS "
@@ -146,7 +146,7 @@ git clean -fd
146146
147147# If a current version was requested then change vendor first
148148if [ " $CURRENT_VERSION " ]; then
149- composer require --no-scripts " $PACKAGE " " $CURRENT_VERSION "
149+ composer require --no-scripts --with-all-dependencies " $PACKAGE " " $CURRENT_VERSION "
150150 git restore composer.*
151151fi
152152
@@ -162,10 +162,10 @@ git commit -m "Stage framework" > /dev/null
162162
163163# Check for a specific requested version
164164if [ " $TARGET_VERSION " ]; then
165- composer require --no-scripts " $PACKAGE " " $TARGET_VERSION "
165+ composer require --no-scripts --with-all-dependencies " $PACKAGE " " $TARGET_VERSION "
166166# Otherwise get the latest
167167else
168- composer update --no-scripts " $PACKAGE "
168+ composer update --no-scripts --with-all-dependencies " $PACKAGE "
169169fi
170170
171171# Wipe out the current versions and copy in the new
0 commit comments