@@ -124,7 +124,7 @@ echo ""
124
124
echo " Scripts Directory: $SCRIPTS "
125
125
echo " Project Directory: $ROOT "
126
126
echo " Target Version: $TARGET_VERSION "
127
- echo " Current Version: $SOURCE_VERSION "
127
+ echo " Current Version: $CURRENT_VERSION "
128
128
echo " Source Package: $PACKAGE "
129
129
echo " Base Branch: $BASE "
130
130
echo " Selected Items: $ITEMS "
@@ -146,7 +146,7 @@ git clean -fd
146
146
147
147
# If a current version was requested then change vendor first
148
148
if [ " $CURRENT_VERSION " ]; then
149
- composer require --no-scripts " $PACKAGE " " $CURRENT_VERSION "
149
+ composer require --no-scripts --with-all-dependencies " $PACKAGE " " $CURRENT_VERSION "
150
150
git restore composer.*
151
151
fi
152
152
@@ -162,10 +162,10 @@ git commit -m "Stage framework" > /dev/null
162
162
163
163
# Check for a specific requested version
164
164
if [ " $TARGET_VERSION " ]; then
165
- composer require --no-scripts " $PACKAGE " " $TARGET_VERSION "
165
+ composer require --no-scripts --with-all-dependencies " $PACKAGE " " $TARGET_VERSION "
166
166
# Otherwise get the latest
167
167
else
168
- composer update --no-scripts " $PACKAGE "
168
+ composer update --no-scripts --with-all-dependencies " $PACKAGE "
169
169
fi
170
170
171
171
# Wipe out the current versions and copy in the new
0 commit comments