-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSD Version Increment: Add subpath support (#3469)
Signed-off-by: Prudhvi Godithi <[email protected]>
- Loading branch information
1 parent
aec6965
commit 4e1852b
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
entry: | ||
- {repo: dashboards-observability} | ||
- {repo: dashboards-reporting} | ||
- {repo: dashboards-visualizations} | ||
- {repo: dashboards-visualizations, path: gantt-chart} | ||
- {repo: dashboards-query-workbench} | ||
- {repo: dashboards-maps} | ||
- {repo: anomaly-detection-dashboards-plugin} | ||
|
@@ -68,9 +68,20 @@ jobs: | |
run: | | ||
cd OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }} | ||
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 | ||
if [ ${{ matrix.entry.path }} ]; then | ||
cp -R ${{ matrix.entry.path }} ../ | ||
cd ../${{ matrix.entry.path }} | ||
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 | ||
cd ../ | ||
cp -R ${{ matrix.entry.path }} ${{ matrix.entry.repo }}/ | ||
cd ${{ matrix.entry.repo }}/ | ||
else | ||
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 | ||
fi | ||
- name: GitHub App token | ||
id: github_app_token | ||
uses: tibdex/[email protected] | ||
|