diff --git a/.github/fetch_version.py b/.github/fetch_version.py index 66eafc0..162bc5b 100644 --- a/.github/fetch_version.py +++ b/.github/fetch_version.py @@ -1,10 +1,12 @@ # Note: Action must be run in Python 3.11 or later import tomllib + def fetch_version(): with open("pyproject.toml", "rb") as f: pyproject = tomllib.load(f) return pyproject["project"]["version"] + if __name__ == "__main__": - print(fetch_version()) \ No newline at end of file + print(fetch_version())