Skip to content

Commit

Permalink
update preflight
Browse files Browse the repository at this point in the history
  • Loading branch information
namidan committed Sep 19, 2023
1 parent ca0348e commit 4a3c997
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build-utils/preflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@

# Regex to validate version numbers
PROD_VERSION_RE = re.compile(r"^\d+\.\d+\.\d+$")
PRERELEASE_VERSION_RE = re.compile(r"^\d+\.\d+\.\d+-(alpha|beta|rc)\.\d{2}$")

# allow 3.0.0-beta.0 not just 3.0.0-beta.01
PRERELEASE_VERSION_RE = re.compile(r"^\d+\.\d+\.\d+-(alpha|beta|rc)\.\d+$")

# prior
#PRERELEASE_VERSION_RE = re.compile(r"^\d+\.\d+\.\d+-(alpha|beta|rc)\.\d{2}$")

early_access = str(os.getenv("EARLY_ACCESS"))

Expand Down

0 comments on commit 4a3c997

Please sign in to comment.