Simplify version numbers for dev to make pypi happy.
This commit is contained in:
parent
c4da5632ab
commit
4f86cad21e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ def prerelease_version():
|
|||
|
||||
assert len(initpy_ver.split('.')) in [3, 4], 'moto/__init__.py version should be like 0.0.2 or 0.0.2.dev'
|
||||
assert initpy_ver > ver, 'the moto/__init__.py version should be newer than the last tagged release.'
|
||||
return f'{initpy_ver}.dev{commits_since}.{githash}'
|
||||
return f'{initpy_ver}.dev{commits_since}'
|
||||
|
||||
def read(*parts):
|
||||
""" Reads in file from *parts.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue