Skip to content

Adds the version function to manage.py#156

Merged
mprahl merged 1 commit intomasterfrom
ft-version-155
Aug 5, 2016
Merged

Adds the version function to manage.py#156
mprahl merged 1 commit intomasterfrom
ft-version-155

Conversation

@mprahl
Copy link
Member

@mprahl mprahl commented Aug 1, 2016

Addresses #155

manage.py Outdated
@manager.command
def version():
"""Returns the version of PostMaster"""
return '1.1.0.0-beta'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version should be a __version__ variable in init.py that is imported into manager.py. Normally it's in setup.py but this is a flask application. config.py wouldn't be good either since that will be the user edited file that won't get updates from us.

@mprahl mprahl merged commit b2deb0d into master Aug 5, 2016
@mprahl mprahl deleted the ft-version-155 branch August 5, 2016 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants