From c4a45c355a9a565edfdd3378c9e23c5719480892 Mon Sep 17 00:00:00 2001 From: Ze-Yi LIN <58305964+Zeyi-Lin@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:51:59 +0800 Subject: [PATCH] feat/version-tips (#682) * update tip * reset --------- Co-authored-by: KAAANG <79990647+SAKURA-CAT@users.noreply.github.com> --- script/build_pypi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build_pypi.py b/script/build_pypi.py index d977b0b7..1e52b306 100644 --- a/script/build_pypi.py +++ b/script/build_pypi.py @@ -19,7 +19,7 @@ # 设置版本号 version = os.getenv("VERSION") if not version: - raise ValueError("尚未指定构建版本号") + raise ValueError("尚未指定构建版本号,请设置VERSION环境变量,如`export VERSION=0.6.0`") with open("swanlab/package.json", 'r+') as f: p = json.load(f) p["version"] = version