Skip to content

Commit

Permalink
[CI] If package is not bridge, it should be in replace section
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Jan 3, 2022
1 parent 0cf83bd commit d9f0d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/package-tests.yml
Expand Up @@ -82,7 +82,7 @@ jobs:
echo "Verifying new package"
_correct_license_file $DIR/LICENSE || localExit=1
if [ $TYPE == 'component_bridge' ]; then
if [ $TYPE != 'component_bridge' ]; then
if [ ! $(cat composer.json | jq -e ".replace.\"$NAME\"|test(\"self.version\")") ]; then
echo "Composer.json's replace section needs to contain $NAME"
localExit=1
Expand Down

0 comments on commit d9f0d8e

Please sign in to comment.