Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ckeditor:install only runs when not same version #203

Open
SimonHeimberg opened this issue Nov 26, 2019 · 0 comments
Open

ckeditor:install only runs when not same version #203

SimonHeimberg opened this issue Nov 26, 2019 · 0 comments

Comments

@SimonHeimberg
Copy link

SimonHeimberg commented Nov 26, 2019

Feature Request

Please support running ckeditor:install --clear=skip-if-matching.
This is is like --clear=skip if the tag/custom-build-id/... matches, and like --clear=drop (or --clear=keep?) else.

my work around for fixed tag:

in the auto-scripts, I run the following command:

"version=4.6.2 cmd='./bin/console ckeditor:install --quiet --clear=drop' sh -c 'if ! grep -qs version.*$version vendor/friendsofsymfony/ckeditor-bundle/src/Resources/public/package.json; then echo \" \" running $cmd --tag=$version; $cmd --tag=$version; fi'": "script"

the command more readable:

version=4.6.2 \
cmd='./bin/console ckeditor:install --quiet --clear=drop' \
sh -c '
    if ! grep -qs version.*$version vendor/friendsofsymfony/ckeditor-bundle/src/Resources/public/package.json;
        then echo \" \" running $cmd --tag=$version; $cmd --tag=$version;
    fi
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant