From ee5c3a6e7b0796906775d5979f0284c4afe9f57a Mon Sep 17 00:00:00 2001 From: Philipp Hanslovsky Date: Tue, 2 Apr 2019 16:17:39 -0400 Subject: [PATCH] Add _Version.is_release --- eqip/version_info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eqip/version_info.py b/eqip/version_info.py index 05d20a0..58ae948 100644 --- a/eqip/version_info.py +++ b/eqip/version_info.py @@ -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()