Prep for release 1.3.12
This commit is contained in:
parent
396cb39676
commit
57136a5f1b
2 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ def prerelease_version():
|
|||
ver, commits_since, githash = get_git_version_info()
|
||||
initpy_ver = get_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 len(initpy_ver.split('.')) == 4, 'moto/__init__.py version should be like 0.0.2.dev'
|
||||
assert initpy_ver > ver, 'the moto/__init__.py version should be newer than the last tagged release.'
|
||||
return '{initpy_ver}.dev{commits_since}'.format(initpy_ver=initpy_ver, commits_since=commits_since)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue