We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1364391 commit 8b08213Copy full SHA for 8b08213
openwisp_ipam/__init__.py
@@ -1,4 +1,4 @@
1
-VERSION = (1, 2, 0, "final")
+VERSION = (1, 2, 0, "post1")
2
__version__ = VERSION # alias
3
4
@@ -9,7 +9,9 @@ def get_version():
9
if VERSION[3:] == ("alpha", 0):
10
version = "%s pre-alpha" % version
11
else:
12
- if VERSION[3] != "final":
+ if VERSION[3][0:4] == "post":
13
+ version = "%s.%s" % (version, VERSION[3])
14
+ elif VERSION[3] != "final":
15
try:
16
rev = VERSION[4]
17
except IndexError:
0 commit comments