Skip to content

Commit

Permalink
Add _Version.is_release
Browse files Browse the repository at this point in the history
  • Loading branch information
hanslovsky committed Apr 2, 2019
1 parent 256147e commit ee5c3a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eqip/version_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def tag(self):
def version(self):
return __version__

def is_release(self):
return self.tag() == ''

def __str__(self):
return self.version()

Expand Down

0 comments on commit ee5c3a6

Please sign in to comment.