Skip to content

Commit a03e79d

Browse files
committed
Bump the version to 5.0.0-alpha
1 parent 7c4fbcf commit a03e79d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/rule_engine/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
#
3232

33-
__version__ = '4.5.1'
33+
__version__ = '5.0.0-alpha'
3434

3535
from .engine import resolve_attribute
3636
from .engine import resolve_item

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@
5151
long_description = None
5252

5353
with open(os.path.join(base_directory, 'lib', 'rule_engine', '__init__.py')) as file_h:
54-
match = re.search(r'^__version__\s*=\s*([\'"])(?P<version>\d+(\.\d+)*)\1$', file_h.read(), flags=re.MULTILINE)
54+
match = re.search(
55+
r'^__version__\s*=\s*([\'"])(?P<version>\d+(\.\d+)*(-[a-zA-Z\d]+(\.[1-9][0-9]*)?)?)\1$',
56+
file_h.read(),
57+
flags=re.MULTILINE
58+
)
5559
if match is None:
5660
raise RuntimeError('Unable to find the version information')
5761
version = match.group('version')

0 commit comments

Comments
 (0)