Skip to content

Commit

Permalink
feat/version-tips (#682)
Browse files Browse the repository at this point in the history
* update tip

* reset

---------

Co-authored-by: KAAANG <[email protected]>
  • Loading branch information
Zeyi-Lin and SAKURA-CAT authored Aug 21, 2024
1 parent a2b1d2e commit c4a45c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build_pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4a45c3

Please sign in to comment.