build: Replace deprecated flag in pipeline (#16205)
The `exactDepType` flag in flub bump was deprecated and replaced by interdependencyRange. Update to use it.
This commit is contained in:
Родитель
da8728464d
Коммит
bbadc8a972
|
@ -10,14 +10,14 @@ echo INTERDEPENDENCY_RANGE="'$INTERDEPENDENCY_RANGE'"
|
|||
if [ -f "lerna.json" ]; then
|
||||
if [ "$VERSION_RELEASE" = "release" ]; then
|
||||
echo "release group with '$INTERDEPENDENCY_RANGE' deps"
|
||||
echo command="flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --exactDepType=\"$INTERDEPENDENCY_RANGE\" -xv"
|
||||
flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --exactDepType="$INTERDEPENDENCY_RANGE" -xv
|
||||
echo command="flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --interdependencyRange=\"$INTERDEPENDENCY_RANGE\" -xv"
|
||||
flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --interdependencyRange="$INTERDEPENDENCY_RANGE" -xv
|
||||
else
|
||||
# this is a non-release build of a release group, so always use exact interdependencies, otherwise
|
||||
# dev/test builds may accidentally bring in different versions.
|
||||
echo "release group non-release build"
|
||||
echo command="flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --exactDepType=\"\" -xv"
|
||||
flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --exactDepType="" -xv
|
||||
echo command="flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --interdependencyRange=\"\" -xv"
|
||||
flub bump $RELEASE_GROUP --exact $SETVERSION_VERSION --interdependencyRange="" -xv
|
||||
fi
|
||||
else
|
||||
echo "independent package"
|
||||
|
|
Загрузка…
Ссылка в новой задаче