Skip to content

Commit

Permalink
Bump the version to 5.0.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Jan 25, 2025
1 parent 16e5377 commit 3066380
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rule_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

__version__ = '4.5.1'
__version__ = '5.0.0-alpha'

from .engine import resolve_attribute
from .engine import resolve_item
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@
long_description = None

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

0 comments on commit 3066380

Please sign in to comment.