mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Provide stable doc version by naming docs directory 0.9.x, e.g.
This commit is contained in:
1 parent
5a0878da91
commit
bba66db9c2
1 file changed
+4
@@ -85,6 +85,10 @@ if __name__ == '__main__':
|
||||
for l in setup_lines:
|
||||
if l.startswith('VERSION'):
|
||||
tag = l.split("'")[1]
|
||||
|
||||
# Rename to, e.g., 0.9.x
|
||||
tag = '.'.join(tag.split('.')[:-1] + ['x'])
|
||||
|
||||
break
|
||||
|
||||
if "dev" in tag:
|
||||
|
||||
Reference in new issue
Block a user