Skip to content

Commit

Permalink
Change script toLower
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegKipchatov committed Oct 17, 2023
1 parent 0ef4070 commit 5a8576f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/esbuild-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ jobs:
run: |
DX_VERSION=$(cat node_modules/devextreme/package.json | jq -r '.version')
DX_DIST_VERSION=$(cat node_modules/devextreme-dist/package.json | jq -r '.version')
DX_FRAMEWORK_VERSION=$(cat node_modules/devextreme-${{ toLower(matrix.FRAMEWORK) }}/package.json | jq -r '.version')
DX_FRAMEWORK_VERSION=$(cat node_modules/devextreme-${{ matrix.FRAMEWORK | tr '[:upper:]' '[:lower:]' }}/package.json | jq -r '.version')
jq ".dependencies += {\"devextreme\": \"$DX_VERSION\"}" package.json > package_temp.json && mv package_temp.json package.json
jq ".dependencies += {\"devextreme-dist\": \"$DX_DIST_VERSION\"}" package.json > package_temp.json && mv package_temp.json package.json
jq ".dependencies += {\"devextreme-${{ toLower(matrix.FRAMEWORK) }}\": \"$DX_FRAMEWORK_VERSION\"}" package.json > package_temp.json && mv package_temp.json package.json
jq ".dependencies += {\"devextreme-${{ matrix.FRAMEWORK | tr '[:upper:]' '[:lower:]' }}\": \"$DX_FRAMEWORK_VERSION\"}" package.json > package_temp.json && mv package_temp.json package.json
- name: Prepare JS
run: npm run prepare-js
Expand Down

0 comments on commit 5a8576f

Please sign in to comment.