Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-07-13 16:42:47 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-07-13 16:54:12 +0300
commit5ecefc6a07a44f2617396bd5aec92714d8d760e2 (patch)
tree65123a782b0399d2b366aab74ced758597f1977e /build_files/utils/make_test.py
parent2be7a11e4331d7a16ab29c474624b81b66eeecd4 (diff)
Build: make update support for git tags
Previously it only picked the appropriate version with the blender-vX.XX-release branches.
Diffstat (limited to 'build_files/utils/make_test.py')
-rwxr-xr-xbuild_files/utils/make_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_files/utils/make_test.py b/build_files/utils/make_test.py
index 309ab36ecdd..15bd6dde352 100755
--- a/build_files/utils/make_test.py
+++ b/build_files/utils/make_test.py
@@ -40,7 +40,8 @@ if make_utils.command_missing(git_command):
# Test if we are building a specific release version.
branch = make_utils.git_branch(git_command)
-release_version = make_utils.git_branch_release_version(branch)
+tag = make_utils.git_tag(git_command)
+release_version = make_utils.git_branch_release_version(branch, tag)
lib_tests_dirpath = os.path.join('..', 'lib', "tests")
if not os.path.exists(lib_tests_dirpath):