self.version=repo.git.describe("--always","--tags")# compared to `self.commit_hash[:8]` this takes about 30% more time total but since we run it in parallel we don't care
self.commit_hash=commit.hexsha
self.version=self.commit_hash[:8]
exceptExceptionasex:
print(f"Failed reading extension data from Git repository ({self.name}): {ex}",file=sys.stderr)