Skip to content

Commit

Permalink
Update monorepo-split-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adrolli authored Dec 12, 2024
1 parent 89c2487 commit bf38569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/monorepo-split-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Search and replace "moox/core": "*" with "moox/core": "^2.2.0" in composer.json
# Search and replace "moox/core": "*" with "moox/core": "^3.0.0" in composer.json
- name: Replace core version in composer.json
working-directory: packages/${{ matrix.package }}
run: |
if [ -f composer.json ]; then
echo "Updating moox/core version in ${{ matrix.package }}"
sed -i 's/"moox\/core": "\*"/"moox\/core": "^2.2.0"/g' composer.json
sed -i 's/"moox\/core": "\*"/"moox\/core": "^3.0.0"/g' composer.json
fi
# Commit the updated composer.json (if there was a change)
Expand Down

0 comments on commit bf38569

Please sign in to comment.