Skip to content

Commit 78d71c9

Browse files
authored
Update version to v3.11.0-beta.1 (#7249)
* Update VERSION to v3.11.0-beta.1 * Update abacus-develop/interfaces/ASE_interface/abacuslite/core.py to support 3.11.0-beta.x * Test: Update version_check.yml
1 parent 47a085c commit 78d71c9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/version_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# Validate version.h matches the release tag
2626
- name: Assert version increment
2727
run: |
28-
CODE_VERSION=$(grep -oP '#define\s+VERSION\s+"\Kv?\d+(\.\d+){2,3}' source/source_main/version.h)
28+
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)
2929
3030
if [[ -z "$CODE_VERSION" ]]; then
3131
echo "::error::Failed to extract version from source/source_main/version.h"

interfaces/ASE_interface/abacuslite/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ def __init__(self,
397397
# not recommended :(
398398
profile = AbacusProfile('abacus') if profile is None else profile
399399

400-
# does not support ABACUS version series v3.9.0.x
400+
# does not support ABACUS version series v3.9.0.x and v3.11.0-beta.x
401401
version = profile.version()
402-
if re.match(r'v3\.9\.0\.\d+', version):
402+
if re.match(r'v3\.9\.0\.\d+', version) or re.match(r'v3\.11\.0-beta\.\d+', version):
403403
global __LEGACYIO__
404404
__LEGACYIO__ = False
405405

source/source_main/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#ifndef VERSION
2-
#define VERSION "v3.9.0.27"
2+
#define VERSION "v3.11.0-beta.1"
33
#endif

0 commit comments

Comments
 (0)