1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-01 10:20:59 +00:00

fix(tools): also bump language JSONs for core

This commit is contained in:
Martin Milata 2025-01-29 17:45:20 +01:00
parent d9c547c590
commit 7f2473bb48

View File

@ -2,6 +2,7 @@
from pathlib import Path from pathlib import Path
import re import re
import subprocess
import click import click
@ -78,6 +79,8 @@ def cli(project, version):
VERSION_MINOR=minor, VERSION_MINOR=minor,
VERSION_PATCH=patch, VERSION_PATCH=patch,
) )
# also bump language JSONs
subprocess.run(["python", project / "translations" / "cli.py", "gen"])
elif parts[-1] == "legacy": elif parts[-1] == "legacy":
bump_header( bump_header(
project / "firmware" / "version.h", project / "firmware" / "version.h",