Skip to content

Commit dcf89c0

Browse files
committed
Prepare for v3 release
1 parent b233ebe commit dcf89c0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

coconut/root.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
VERSION = "3.0.0"
2727
VERSION_NAME = None
2828
# False for release, int >= 1 for develop
29-
DEVELOP = 40
30-
ALPHA = True # for pre releases rather than post releases
29+
DEVELOP = False
30+
ALPHA = False # for pre releases rather than post releases
31+
32+
assert DEVELOP is False or DEVELOP >= 1, "DEVELOP must be False or an int >= 1"
33+
assert DEVELOP or not ALPHA, "alpha releases are only for develop"
3134

3235
# -----------------------------------------------------------------------------------------------------------------------
3336
# UTILITIES:
@@ -326,9 +329,6 @@ def _get_root_header(version="universal"):
326329
# CONSTANTS:
327330
# -----------------------------------------------------------------------------------------------------------------------
328331

329-
assert isinstance(DEVELOP, int) or DEVELOP is False, "DEVELOP must be an int or False"
330-
assert DEVELOP or not ALPHA, "alpha releases are only for develop"
331-
332332
if DEVELOP:
333333
VERSION += "-" + ("a" if ALPHA else "post") + "_dev" + str(int(DEVELOP))
334334
VERSION_STR = VERSION + (" [" + VERSION_NAME + "]" if VERSION_NAME else "")

0 commit comments

Comments
 (0)