Permalink
Browse files

master is now 0.2 work and modified version handling for dev releases

  • Loading branch information...
1 parent c9d2d11 commit 91d9a2f87d54d95deaa7dfe7c24e3671861a3b10 @brosner brosner committed Dec 11, 2009
Showing with 6 additions and 4 deletions.
  1. +6 −4 notification/__init__.py
View
10 notification/__init__.py
@@ -1,9 +1,11 @@
-VERSION = (0, 1, 5, "final")
+VERSION = (0, 2, 0, "dev", 1)
def get_version():
- if VERSION[3] != "final":
- return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
- else:
+ if VERSION[3] == "final":
return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2])
+ elif VERSION[3] == "dev":
+ return "%s.%s.%s%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3], VERSION[4])
+ else:
+ return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
__version__ = get_version()

0 comments on commit 91d9a2f

Please sign in to comment.