diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 7522a35d..f750ef9c 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -37,7 +37,7 @@ jobs: - name: Mypy type check run: uv run mypy . - name: Check if README.md automatically generated content is up to date - run: diff -u -Z README.md <(uvx mksync@0.1.5 README.md) + run: diff -u <(cat README.md | sed -z '$s/\n*$//') <(uvx mksync@0.1.5 README.md | sed -z '$s/\n*$//') build-n-publish: name: Build and publish Python distributions to PyPI diff --git a/README.md b/README.md index 1d763977..7c53d1ff 100644 --- a/README.md +++ b/README.md @@ -177,4 +177,4 @@ $ uvx mksync@0.1.5 -i README.md ## License -This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. \ No newline at end of file +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.