From 8de7d53ec77194dfa23c007965ac4f9bcef7122a Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Mon, 15 Jul 2024 18:54:30 -0400 Subject: [PATCH] Add single version loose param for building plugins (#4468) Signed-off-by: Derek Ho --- .github/workflows/osd-increment-plugin-versions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/osd-increment-plugin-versions.yml b/.github/workflows/osd-increment-plugin-versions.yml index 5c2104f0b4..44487c5809 100644 --- a/.github/workflows/osd-increment-plugin-versions.yml +++ b/.github/workflows/osd-increment-plugin-versions.yml @@ -81,7 +81,7 @@ jobs: run: | cd OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }} if [ ${{ matrix.entry.path }} ]; then - yarn osd bootstrap + yarn osd bootstrap --single-version=loose cp -R ${{ matrix.entry.path }} ../ cd ../${{ matrix.entry.path }} node ../../scripts/plugin_helpers version --sync legacy @@ -97,7 +97,7 @@ jobs: OSD_PLUGIN_VERSION=$(node -p "require('./package.json').version") echo "OSD_PLUGIN_VERSION=$OSD_PLUGIN_VERSION" >> $GITHUB_ENV else - yarn osd bootstrap + yarn osd bootstrap --single-version=loose node ../../scripts/plugin_helpers version --sync legacy OSD_PLUGIN_VERSION=$(node -p "require('./package.json').version") echo "OSD_PLUGIN_VERSION=$OSD_PLUGIN_VERSION" >> $GITHUB_ENV