diff --git a/resources/pdc_config.py b/resources/pdc_config.py index 454bfe7..54bb93b 100644 --- a/resources/pdc_config.py +++ b/resources/pdc_config.py @@ -96,6 +96,11 @@ class DevConfig(Config): # ignores @role_required decorator ROLE_DISABLED = True + from datetime import datetime + import re + date = datetime.now().strftime("%y%m%d%H%M") + VERSION = re.sub(r"^(\d\.\d)\..*$", r"\1" + f".pre-{date}", Config.VERSION) + # Testing configuration # -- libgit2 0.21.2