mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-03-17 05:40:26 +00:00
version bump
This commit is contained in:
parent
33c1ae6078
commit
64df1d79c7
1 changed files with 3 additions and 9 deletions
|
|
@ -1,13 +1,7 @@
|
|||
VERSION = (0, 6, 3)
|
||||
VERSION = (0, 6, 4)
|
||||
|
||||
|
||||
def get_version(svn=False, limit=3):
|
||||
"Returns the version as a human-format string."
|
||||
v = '.'.join([str(i) for i in VERSION[:limit]])
|
||||
if svn and limit >= 3:
|
||||
from django.utils.version import get_svn_revision
|
||||
import os
|
||||
svn_rev = get_svn_revision(os.path.dirname(__file__))
|
||||
if svn_rev:
|
||||
v = '%s.%s' % (v, svn_rev)
|
||||
return v
|
||||
return '.'.join([str(i) for i in VERSION[:limit]])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue