Add '+dev' suffix to all versions on about page
This commit is contained in:
parent
b5c81244ac
commit
db9deffaa6
|
@ -13,13 +13,15 @@ import rattail_demo
|
||||||
class CommonView(base.CommonView):
|
class CommonView(base.CommonView):
|
||||||
|
|
||||||
project_title = "Rattail Demo"
|
project_title = "Rattail Demo"
|
||||||
project_version = rattail_demo.__version__
|
project_version = rattail_demo.__version__ + '+dev'
|
||||||
|
|
||||||
def get_packages(self):
|
def get_packages(self):
|
||||||
import rattail_tempmon
|
import rattail_tempmon
|
||||||
|
|
||||||
packages = super(CommonView, self).get_packages()
|
packages = super(CommonView, self).get_packages()
|
||||||
packages['rattail-tempmon'] = rattail_tempmon.__version__
|
packages['rattail-tempmon'] = rattail_tempmon.__version__
|
||||||
|
for key in packages:
|
||||||
|
packages[key] = packages[key] + '+dev'
|
||||||
return packages
|
return packages
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue