fix: avoid removing Open_edX.egg-info/ with git clean (#34380)
git clean when used with glob pattern (*/) removes non-translations files. using `$ rm` to fix the issue.
This commit is contained in:
4
Makefile
4
Makefile
@@ -55,8 +55,8 @@ pull_xblock_translations: ## pull xblock translations via atlas
|
||||
|
||||
pull_translations: ## pull translations via atlas
|
||||
# Clean up the existing translations
|
||||
git clean -fdX conf/locale conf/plugins-locale */static/js/i18n/ */static/js/xblock.v1-i18n/
|
||||
|
||||
git clean -fdX conf/locale
|
||||
rm -rf conf/plugins-locale cms/static/js/i18n/ lms/static/js/i18n/ cms/static/js/xblock.v1-i18n/ lms/static/js/xblock.v1-i18n/
|
||||
make pull_xblock_translations
|
||||
make pull_plugin_translations
|
||||
atlas pull $(ATLAS_OPTIONS) \
|
||||
|
||||
Reference in New Issue
Block a user