Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc committed Jan 10, 2025
1 parent 5ab0dab commit b72b3b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def keep_version_file(self) -> bool:
# If the version file is already there and the version is greater than the current version, keep it.
try:
serialized_version_file = self.read_file(self.exec_path(self.code_model.namespace) / "_version.py")
match = re.search(r'VERSION\s*=\s*"([^"]+)"', serialized_version_file)
match = re.search(r'VERSION\s*=\s*"([^"]+)"', str(serialized_version_file))
serialized_version = match.group(1) if match else ""
except (FileNotFoundError, IndexError):
serialized_version = ""
Expand Down

0 comments on commit b72b3b5

Please sign in to comment.