Skip to content

Commit b85ac93

Browse files
authored
Merge pull request #13803 from velconia/10_version
Fix paddle version
2 parents c548ce7 + 9620f50 commit b85ac93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/setup.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _get_version_detail(idx):
2727
if re.match('@TAG_VERSION_REGEX@', '@PADDLE_VERSION@'):
2828
version_details = '@PADDLE_VERSION@'.split('.')
2929

30-
if len(version_details) == 3:
30+
if len(version_details) >= 3:
3131
return version_details[idx]
3232

3333
return 0

0 commit comments

Comments
 (0)