FOSCKEditorBundle
FOSCKEditorBundle copied to clipboard
ckeditor:install only runs when not same version
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
'