Add script for change version. (#8443)
- Replace jvm regex replacement script with mvn command. - Replace cmake script for python version with python script. - Automate rest of the manual steps. The script can handle dev branch, rc release, and formal release version.
This commit is contained in:
@@ -70,3 +70,13 @@ def print_time() -> None:
|
||||
"Elapsed:",
|
||||
f"{v['total'].seconds} secs",
|
||||
)
|
||||
|
||||
|
||||
ROOT = os.path.normpath(
|
||||
os.path.join(
|
||||
os.path.dirname(os.path.abspath(__file__)), os.path.pardir, os.path.pardir
|
||||
)
|
||||
)
|
||||
R_PACKAGE = os.path.join(ROOT, "R-package")
|
||||
JVM_PACKAGES = os.path.join(ROOT, "jvm-packages")
|
||||
PY_PACKAGE = os.path.join(ROOT, "python-package")
|
||||
|
||||
Reference in New Issue
Block a user