From ba700c96efee16a34ae39197535a8ee8e515853c Mon Sep 17 00:00:00 2001 From: EGJ-Moorington Date: Wed, 14 Aug 2024 23:40:15 +0200 Subject: [PATCH] Updated version number for 2.0.0-beta.1 release --- button_handler.py | 2 +- docs/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/button_handler.py b/button_handler.py index 9a35bf1..93a1643 100644 --- a/button_handler.py +++ b/button_handler.py @@ -45,7 +45,7 @@ def ticks_ms() -> int: except ImportError: pass -__version__ = "2.0.0" +__version__ = "2.0.0-beta.1" __repo__ = "https://github.com/EGJ-Moorington/CircuitPython_Button_Handler.git" _TICKS_PERIOD = 1 << 29 diff --git a/docs/conf.py b/docs/conf.py index 5442738..cd51ff2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,7 +63,7 @@ # built documents. # # The short X.Y version. -version = __version__.rsplit(".", 1)[0] +version = __version__.split("-")[0].rsplit(".", 1)[0] # The full version, including alpha/beta/rc tags. release = __version__