2021-02-18 06:04:30 +01:00
|
|
|
import os
|
|
|
|
import semver
|
|
|
|
|
|
|
|
version = (
|
|
|
|
0,
|
|
|
|
2,
|
2021-08-17 10:03:14 +02:00
|
|
|
1,
|
2021-11-03 11:19:44 +01:00
|
|
|
'rc.1',
|
2021-02-18 06:04:30 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
version_object = semver.VersionInfo(
|
|
|
|
major=version[0],
|
|
|
|
minor=version[1],
|
|
|
|
patch=version[2],
|
|
|
|
prerelease=version[3],
|
|
|
|
)
|
|
|
|
|
|
|
|
version_string = str(version_object)
|