Skip to content

Commit 8b08213

Browse files
pandafynemesifier
authored andcommitted
1.2.0.post1 release
Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
1 parent 1364391 commit 8b08213

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

openwisp_ipam/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (1, 2, 0, "final")
1+
VERSION = (1, 2, 0, "post1")
22
__version__ = VERSION # alias
33

44

@@ -9,7 +9,9 @@ def get_version():
99
if VERSION[3:] == ("alpha", 0):
1010
version = "%s pre-alpha" % version
1111
else:
12-
if VERSION[3] != "final":
12+
if VERSION[3][0:4] == "post":
13+
version = "%s.%s" % (version, VERSION[3])
14+
elif VERSION[3] != "final":
1315
try:
1416
rev = VERSION[4]
1517
except IndexError:

0 commit comments

Comments
 (0)