Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/version-tips #682

Merged
merged 3 commits into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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