We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4376c96 commit 668a7bdCopy full SHA for 668a7bd
py/makeversionhdr.py
@@ -78,9 +78,7 @@ def get_version_info_from_mpconfig(repo_path):
78
ver_minor = int(line.strip().split()[2])
79
elif line.startswith("#define MICROPY_VERSION_MICRO "):
80
ver_micro = int(line.strip().split()[2])
81
- git_tag = "v%d.%d" % (ver_major, ver_minor)
82
- if ver_micro != 0:
83
- git_tag += ".%d" % (ver_micro,)
+ git_tag = "v%d.%d.%d" % (ver_major, ver_minor, ver_micro)
84
return git_tag, "<no hash>"
85
return None
86
0 commit comments