提交 fd3940b6 编写于 作者: M minqiyang

Change the sequence of major and minor

上级 712986e2
...@@ -27,20 +27,20 @@ def _get_version_detail(idx): ...@@ -27,20 +27,20 @@ def _get_version_detail(idx):
return None return None
def get_minor():
minor = _get_version_detail(0)
if minor is not None:
return minor
return MINOR
def get_major(): def get_major():
major = _get_version_detail(1) major = _get_version_detail(0)
if major is not None: if major is not None:
return major return major
return MAJOR return MAJOR
def get_minor():
minor = _get_version_detail(1)
if minor is not None:
return minor
return MINOR
def get_patch(): def get_patch():
patch = _get_version_detail(2) patch = _get_version_detail(2)
if patch is not None: if patch is not None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册