Skip to content

Commit

Permalink
Tweak dir path for osd after untar (#688) (#689)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
(cherry picked from commit 38ee80e)

Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
1 parent 141c489 commit b8eb0ab
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-e2e-workflow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-signoff-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-signoff-chromium-ad-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-signoff-chromium-ism-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-signoff-chromium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-signoff-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-signoff-firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get node and yarn versions
id: versions
run: |
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}-linux-x64/package.json').engines.node).match(/[.0-9]+/)[0]")
node_version_temp=$(node -p "(require('./opensearch-dashboards-${{ env.VERSION }}/package.json').engines.node).match(/[.0-9]+/)[0]")
echo "node_version=$node_version_temp" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v1
Expand Down

0 comments on commit b8eb0ab

Please sign in to comment.