diff --git a/CHANGES.rst b/CHANGES.rst index d2d9949b..6b513350 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,6 +19,7 @@ New features: Bug fixes: - Fix a few ``__all__`` variables. +- Added missing ``docs`` folder to distribution packages. See `Issue 712 `_. 6.0.0 (2024-09-28) ------------------ diff --git a/pyproject.toml b/pyproject.toml index c2cae8b5..af50f840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,7 +93,6 @@ exclude = [ "/.*", "/*.*", "/src/icalendar/fuzzing", - "/docs", "/dist", "/build", "/htmlcov", diff --git a/src/icalendar/tests/test_create_release.sh b/src/icalendar/tests/test_create_release.sh index 447694d6..ef07e203 100755 --- a/src/icalendar/tests/test_create_release.sh +++ b/src/icalendar/tests/test_create_release.sh @@ -17,10 +17,16 @@ if ! [ -f "$archive" ]; then exit 1 fi -if tar -tf "$archive" | grep 'fuzzing/'; then +if tar -tf "$archive" | grep -q 'fuzzing/'; then echo "ERROR: Fuzzing files are included in the release." echo " See https://github.com/collective/icalendar/pull/569" exit 1 fi +if ! tar -tf "$archive" | grep -q '/docs/'; then + echo "ERROR: The documentation is not included in the release, but should be." + echo " See https://github.com/collective/icalendar/issues/712" + exit 1 +fi + echo "Checks passed."