Skip to content

Commit

Permalink
OSD version increment tmp fix (#3509)
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
  • Loading branch information
prudhvigodithi committed May 12, 2023
1 parent 4354dff commit 8db05ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/osd-increment-plugin-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
run: |
DASHBOARD_VERSION=$(node -p "require('./OpenSearch-Dashboards/package.json').version")
cd OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }}
yarn osd bootstrap
if [ ${{ matrix.entry.path }} ]; then
yarn osd bootstrap
cp -R ${{ matrix.entry.path }} ../
cd ../${{ matrix.entry.path }}
node ../../scripts/plugin_helpers version --sync legacy
Expand All @@ -86,6 +86,7 @@ jobs:
jq --arg DASHBOARD_VERSION "$DASHBOARD_VERSION" '.version = $DASHBOARD_VERSION' package.json > package-tmp.json
mv package-tmp.json package.json
else
yarn osd bootstrap
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
Expand Down

0 comments on commit 8db05ab

Please sign in to comment.