diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 133467f..dc3aa30 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -8,7 +8,8 @@ on: env: PLUGIN_NAME: ganttchartDashboards - OD_VERSION: 1.0.0.0 + OPENSEARCH_VERSION: 1.0.0-beta1 + OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-beta1 jobs: @@ -32,7 +33,7 @@ jobs: uses: actions/checkout@v1 with: repository: opensearch-project/Opensearch-Dashboards - ref: main + ref: ${{ env.OPENSEARCH_VERSION }} path: dashboards-visualizations/OpenSearch-Dashboards - name: Setup Node @@ -53,7 +54,7 @@ jobs: run: | cd OpenSearch-Dashboards/plugins/gantt-chart yarn build - mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OD_VERSION }}.zip + mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip - name: Upload to S3 run: | diff --git a/.github/workflows/test-and-build-workflow.yml b/.github/workflows/test-and-build-workflow.yml index 11c0e4b..8be88e3 100644 --- a/.github/workflows/test-and-build-workflow.yml +++ b/.github/workflows/test-and-build-workflow.yml @@ -5,7 +5,8 @@ on: [pull_request, push] env: PLUGIN_NAME: ganttchartDashboards - OD_VERSION: 1.0.0.0 + OPENSEARCH_VERSION: 1.0.0-beta1 + OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-beta1 jobs: @@ -20,7 +21,7 @@ jobs: uses: actions/checkout@v1 with: repository: opensearch-project/Opensearch-Dashboards - ref: main + ref: ${{ env.OPENSEARCH_VERSION }} path: dashboards-visualizations/OpenSearch-Dashboards - name: Setup Node uses: actions/setup-node@v1 @@ -37,7 +38,7 @@ jobs: run: | cd OpenSearch-Dashboards/plugins/gantt-chart yarn build - mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OD_VERSION }}.zip + mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip - name: Upload Artifact uses: actions/upload-artifact@v1 with: diff --git a/gantt-chart/opensearch_dashboards.json b/gantt-chart/opensearch_dashboards.json index 3fc0c26..07b049c 100644 --- a/gantt-chart/opensearch_dashboards.json +++ b/gantt-chart/opensearch_dashboards.json @@ -1,7 +1,7 @@ { "id": "ganttchartDashboards", - "version": "1.0.0.0", - "opensearchDashboardsVersion": "1.0.0", + "version": "1.0.0.0-beta1", + "opensearchDashboardsVersion": "1.0.0-beta1", "requiredPlugins": [ "visualizations", "data" diff --git a/gantt-chart/package.json b/gantt-chart/package.json index bfc8e56..099cd83 100644 --- a/gantt-chart/package.json +++ b/gantt-chart/package.json @@ -1,9 +1,9 @@ { "name": "gantt-chart-dashboards", - "version": "1.0.0.0", + "version": "1.0.0.0-beta1", "opensearchDashboards": { - "version": "1.0.0", - "templateVersion": "1.0.0" + "version": "1.0.0-beta1", + "templateVersion": "1.0.0-beta1" }, "license": "Apache-2.0", "scripts": {