diff --git a/.github/workflows/version_check.yml b/.github/workflows/version_check.yml index 8e4a8cd4bdd..6062ccc643d 100644 --- a/.github/workflows/version_check.yml +++ b/.github/workflows/version_check.yml @@ -25,7 +25,7 @@ jobs: # Validate version.h matches the release tag - name: Assert version increment run: | - CODE_VERSION=$(grep -oP '#define\s+VERSION\s+"\Kv?\d+(\.\d+){2,3}' source/source_main/version.h) + CODE_VERSION=$(grep -oP '#define\s+VERSION\s+"\Kv?\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?' source/source_main/version.h) if [[ -z "$CODE_VERSION" ]]; then echo "::error::Failed to extract version from source/source_main/version.h" diff --git a/interfaces/ASE_interface/abacuslite/core.py b/interfaces/ASE_interface/abacuslite/core.py index 1b5305f364d..f5697eb6c58 100644 --- a/interfaces/ASE_interface/abacuslite/core.py +++ b/interfaces/ASE_interface/abacuslite/core.py @@ -397,9 +397,9 @@ def __init__(self, # not recommended :( profile = AbacusProfile('abacus') if profile is None else profile - # does not support ABACUS version series v3.9.0.x + # does not support ABACUS version series v3.9.0.x and v3.11.0-beta.x version = profile.version() - if re.match(r'v3\.9\.0\.\d+', version): + if re.match(r'v3\.9\.0\.\d+', version) or re.match(r'v3\.11\.0-beta\.\d+', version): global __LEGACYIO__ __LEGACYIO__ = False diff --git a/source/source_main/version.h b/source/source_main/version.h index 4fb2d633b53..c592dde2bac 100644 --- a/source/source_main/version.h +++ b/source/source_main/version.h @@ -1,3 +1,3 @@ #ifndef VERSION -#define VERSION "v3.9.0.27" +#define VERSION "v3.11.0-beta.1" #endif