Skip to content

Commit

Permalink
Add CCI Task to clean translation metadata after using retrieve_unpac…
Browse files Browse the repository at this point in the history
…kaged
  • Loading branch information
force2b committed Dec 13, 2019
1 parent 67f6e14 commit f14bb2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ project:
git:
prefix_release: rel/

tasks:
cleanup_translation_metadata:
description: Delete metadata from translation files that should not be translated.
class_path: tasks.modify.RemoveElementsXPath
options:
output_style: salesforce
elements:
- path: src/translations/**.translation
xpath: //ns:customLabels[ns:name='DefaultCurrentStatus']|//ns:customLabels[ns:name='DefaultFormerStatus']
- path: src/translations/**.translation
xpath: //ns:quickActions

flows:
release_beta:
tasks:
Expand Down

0 comments on commit f14bb2c

Please sign in to comment.