Skip to content

Commit

Permalink
bump version to beta1 and update workflows (#5)
Browse files Browse the repository at this point in the history
Signed-off-by: David Cui <davidcui@amazon.com>
  • Loading branch information
davidcui1225 authored Apr 27, 2021
1 parent b0771e4 commit cc72904
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions gantt-chart/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions gantt-chart/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit cc72904

Please sign in to comment.