Skip to content

Commit

Permalink
version.txt: update to 0.10.0a0 (#426)
Browse files Browse the repository at this point in the history
Change validation regex in setup.py to allow for this.
Previously it only allow single-digit version parts.

Signed-off-by: Frank Lichtenheld <[email protected]>
Co-authored-by: allburov <[email protected]>
  • Loading branch information
flichtenheld and allburov authored Feb 19, 2024
1 parent c99d910 commit 7e79856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
with open("version.txt") as file:
__version__ = file.readline().strip()

# check that version is correct (X.X.X or X.X.X.devXXX or X.X.X.alphaX), eg 0.8.0.dev0
# check that version is correct (X.X.X or X.X.X.devXXX or X.X.X.alphaX), eg 0.10.0.dev0
assert re.match(
r"^\d\.\d\.\d$|^\d\.\d\.\d\.dev\d+$|^\d\.\d\.\d\.alpha\d+$", __version__
r"^\d+\.\d+\.\d+$|^\d+\.\d+\.\d+\.dev\d+$|^\d+\.\d+\.\d+\.alpha\d+$", __version__
)


Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0.alpha0
0.10.0.alpha0

0 comments on commit 7e79856

Please sign in to comment.