Skip to content

Commit 65083de

Browse files
committed
minor symfony#44894 [CI] If package is not bridge, it should be in replace section (Nyholm)
This PR was merged into the 5.3 branch. Discussion ---------- [CI] If package is not bridge, it should be in replace section | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Related to symfony#44511. Ping `@fancyweb` We should only add packages in the root composer's replace section for bundles, packages and contracts. Ie everything but bridges. Commits ------- d9f0d8e [CI] If package is not bridge, it should be in replace section
2 parents 0cf83bd + d9f0d8e commit 65083de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/package-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
echo "Verifying new package"
8383
_correct_license_file $DIR/LICENSE || localExit=1
8484
85-
if [ $TYPE == 'component_bridge' ]; then
85+
if [ $TYPE != 'component_bridge' ]; then
8686
if [ ! $(cat composer.json | jq -e ".replace.\"$NAME\"|test(\"self.version\")") ]; then
8787
echo "Composer.json's replace section needs to contain $NAME"
8888
localExit=1

0 commit comments

Comments
 (0)