mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 03:50:58 +00:00
chore(core/bootloader): bump version to 2.1.1
[skip_ci]
This commit is contained in:
parent
81e5dbf301
commit
46940521d8
@ -1,6 +1,6 @@
|
|||||||
#define VERSION_MAJOR 2
|
#define VERSION_MAJOR 2
|
||||||
#define VERSION_MINOR 1
|
#define VERSION_MINOR 1
|
||||||
#define VERSION_PATCH 0
|
#define VERSION_PATCH 1
|
||||||
#define VERSION_BUILD 0
|
#define VERSION_BUILD 0
|
||||||
#define VERSION_UINT32 \
|
#define VERSION_UINT32 \
|
||||||
(VERSION_MAJOR | (VERSION_MINOR << 8) | (VERSION_PATCH << 16) | \
|
(VERSION_MAJOR | (VERSION_MINOR << 8) | (VERSION_PATCH << 16) | \
|
||||||
|
@ -64,7 +64,14 @@ def cli(project, version):
|
|||||||
major, minor, patch = m.group(1, 2, 3)
|
major, minor, patch = m.group(1, 2, 3)
|
||||||
|
|
||||||
parts = project.parts
|
parts = project.parts
|
||||||
if parts[-1] == "core":
|
if parts[-3:] == ("core", "embed", "bootloader"):
|
||||||
|
bump_header(
|
||||||
|
project / "version.h",
|
||||||
|
VERSION_MAJOR=major,
|
||||||
|
VERSION_MINOR=minor,
|
||||||
|
VERSION_PATCH=patch,
|
||||||
|
)
|
||||||
|
elif parts[-1] == "core":
|
||||||
bump_header(
|
bump_header(
|
||||||
project / "embed" / "firmware" / "version.h",
|
project / "embed" / "firmware" / "version.h",
|
||||||
VERSION_MAJOR=major,
|
VERSION_MAJOR=major,
|
||||||
|
Loading…
Reference in New Issue
Block a user