Skip to content

Commit

Permalink
Fix script to lock symfony versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Mar 28, 2024
1 parent d6b8b7a commit 1a2f233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lock-symfony-version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

cat <<< $(jq --arg version $VERSION '.require |= with_entries(if ((.key|test("^symfony/"))) then .value=$version else . end)' < composer.json) > composer.json
cat <<< $(jq --arg version $VERSION '.require |= with_entries(if ((.key|test("^symfony/service-contracts")|not) and (.key|test("^symfony/"))) then .value=$version else . end)' < composer.json) > composer.json

0 comments on commit 1a2f233

Please sign in to comment.