Skip to content
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
8 changes: 8 additions & 0 deletions version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

List of affected files:
- tvm-root/python/tvm/libinfo.py
- tvm-root/pyproject.toml
- tvm-root/include/tvm/runtime/base.h
- tvm-root/conda/recipe/meta.yaml
- tvm-root/web/package.json
Expand Down Expand Up @@ -175,6 +176,13 @@ def sync_version(pub_ver, local_ver, dry_run):
local_ver,
dry_run,
)
# pyproject.toml
update(
os.path.join(PROJ_ROOT, "pyproject.toml"),
r"(?<=version = \")[.0-9a-z\+]+",
pub_ver,
dry_run,
)
# Use public version for other parts for now
# Note that full git hash is already available in libtvm
# C++ header
Expand Down
Loading