From c6fad214f79488f0fe9f5fa35c5d4e3c2694f937 Mon Sep 17 00:00:00 2001 From: danthe3rd Date: Fri, 13 Jan 2023 20:54:32 +0000 Subject: [PATCH] CI: Fix typo to set version number __original_commit__ = fairinternal/xformers@7e9a381d383d197b295225870150c68ac25db644 --- packaging/compute_wheel_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/compute_wheel_version.py b/packaging/compute_wheel_version.py index fd2d334ed5..3f6e60c2ef 100644 --- a/packaging/compute_wheel_version.py +++ b/packaging/compute_wheel_version.py @@ -41,7 +41,7 @@ def get_dev_version() -> str: num_commits = subprocess.check_output( ["git", "rev-list", "--count", "HEAD"], text=True ).strip() - return f"{version}.dev{num_commits}" + return f"{version_from_file}.dev{num_commits}" if __name__ == "__main__":