[Fix] Remove the tvm web from version update (#6122)
authorHaichen Shen <shenhaichen@gmail.com>
Sat, 25 Jul 2020 15:14:10 +0000 (08:14 -0700)
committerGitHub <noreply@github.com>
Sat, 25 Jul 2020 15:14:10 +0000 (08:14 -0700)
version.py

index 4078d8a..015ee24 100644 (file)
@@ -22,7 +22,6 @@ This script runs and update all the locations that related to versions
 List of affected files:
 - tvm-root/python/tvm/_ffi/libinfo.py
 - tvm-root/include/tvm/runtime/c_runtime_api.h
-- tvm-root/web/tvm_runtime.js
 - tvm-root/conda/tvm/meta.yaml
 - tvm-root/conda/tvm-libs/meta.yaml
 """
@@ -72,9 +71,6 @@ def main():
     for path in ["tvm", "tvm-libs"]:
         update(os.path.join(proj_root, "conda", path, "meta.yaml"),
                "(?<=version = \")[.0-9a-z]+", __version__)
-    # web
-    update(os.path.join(proj_root, "web", "tvm_runtime.js"),
-           "(?<=@version )[.0-9a-z]+", __version__)
 
 if __name__ == "__main__":
     main()