Skip to content

Commit 67b86d4

Browse files
authored
Merge pull request #14196 from velconia/fix_version
Fix paddle version
2 parents b316437 + db5a7e0 commit 67b86d4

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)