From 80cfdf63dc85d608b7e02e93d2c841ece84f4d0e Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Thu, 10 Oct 2024 12:13:12 +0100 Subject: [PATCH 1/3] Add docs folder --- CHANGES.rst | 1 + pyproject.toml | 1 - src/icalendar/tests/test_create_release.sh | 8 +++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9015a3bd..9517acd3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,6 +19,7 @@ New features: Bug fixes: - Fix a few ``__all__`` variables. +- Add missing ``docs`` folder to distribution packages, see `Issue 712 `_ 6.0.0 (2024-09-28) ------------------ diff --git a/pyproject.toml b/pyproject.toml index 9730e465..f79b57cd 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..78c2053d 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." + echo " See https://github.com/collective/icalendar/issues/712" + exit 1 +fi + echo "Checks passed." From 9b28ddb879faa91413fa43df4585aa2f055eb43e Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Sat, 12 Oct 2024 14:36:51 +0100 Subject: [PATCH 2/3] Update CHANGES.rst Co-authored-by: Steve Piercy --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9517acd3..2e795d26 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,7 +19,7 @@ New features: Bug fixes: - Fix a few ``__all__`` variables. -- Add missing ``docs`` folder to distribution packages, see `Issue 712 `_ +- Added missing ``docs`` folder to distribution packages. See `Issue 712 `_. 6.0.0 (2024-09-28) ------------------ From f0317425c25cca27fff440e343bf22c4a80e43e7 Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Sat, 12 Oct 2024 14:37:04 +0100 Subject: [PATCH 3/3] Update src/icalendar/tests/test_create_release.sh Co-authored-by: Steve Piercy --- src/icalendar/tests/test_create_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icalendar/tests/test_create_release.sh b/src/icalendar/tests/test_create_release.sh index 78c2053d..ef07e203 100755 --- a/src/icalendar/tests/test_create_release.sh +++ b/src/icalendar/tests/test_create_release.sh @@ -24,7 +24,7 @@ if tar -tf "$archive" | grep -q 'fuzzing/'; then fi if ! tar -tf "$archive" | grep -q '/docs/'; then - echo "ERROR: The documentation is not included in the release." + 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