diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ef04e0..8a5777d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.2.2 +## 0.2.9 + +- Added support for macOS + +## 0.2.2 (pre-release) - Added progress bar to terminal output using [tqdm](https://github.com/tqdm/tqdm). -## 0.2.1 +## 0.2.1 (pre-release) - Added asynchronous importing of docs, using [asyncio subprocesses](https://docs.python.org/3/library/asyncio-subprocess.html#asyncio.asyncio.subprocess.Process). This should half import times. diff --git a/mkdocs_multirepo_plugin/util.py b/mkdocs_multirepo_plugin/util.py index 8d75658..e053619 100644 --- a/mkdocs_multirepo_plugin/util.py +++ b/mkdocs_multirepo_plugin/util.py @@ -93,7 +93,7 @@ def git_supports_sparse_clone() -> bool: async def execute_bash_script(script: str, arguments: list = [], cwd: Path = Path.cwd()) -> str: """executes a bash script in an asynchronously""" - if platform == "linux" or platform == "linux2": + if platform in LINUX_LIKE_PLATFORMS: cmd = " ".join(f'"{arg}"' for arg in arguments) cmd = f'bash {script} {cmd}' process = await asyncio.create_subprocess_shell( diff --git a/setup.py b/setup.py index 9908914..7e3a84f 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ 'mkdocs_multirepo_plugin/scripts/sparse_clone_old.sh', 'mkdocs_multirepo_plugin/scripts/mv_docs_up.sh' ], - version="0.2.8", + version="0.2.9", author="Joseph Doiron", author_email="josephdoiron1234@yahoo.com", description="Build documentation in multiple repos into one site.",