We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4330681 commit c5647baCopy full SHA for c5647ba
1 file changed
mmdzanata/cli.py
@@ -174,11 +174,13 @@ def generate_metadata(ctx):
174
ctx.parent.obj['debug']
175
)
176
177
- Modulemd.dump(sorted(translations), "%s.yaml" % (
178
- ctx.parent.obj['zanata_translation_document']))
+ translation_file = "%s-%s.yaml" % (
+ ctx.parent.obj['zanata_translation_document'],
179
+ ctx.parent.obj['branch'])
180
+
181
+ Modulemd.dump(sorted(translations), translation_file)
182
- print("Wrote modulemd-translations YAML to %s.yaml" % (
183
+ print("Wrote modulemd-translations YAML to %s" % translation_file)
184
185
186
if __name__ == "__main__":
0 commit comments