From fe2e65bd3511c5fb3c9af0f7a0d67bcc15dd9102 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Tue, 10 Feb 2026 12:00:37 +0100 Subject: [PATCH] build-collection.sh: Rename base README.md to make it invisible for AAH AAH and also Galaxy are automatically trying to render the base README.md file in the collection even if "readme" is set to another file in galaxy.yml. Fixes: 1) README.md is renamed to README-COLLECTION.md 2) New README.md is generated with information about the rename and also pointing to the README-COLLECTION.md file in the collection and also the upstream documentation (versioned and latest). 3) Upstream "documentation" in galaxy.yml set to new README.md file. --- utils/build-collection.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/utils/build-collection.sh b/utils/build-collection.sh index 0bd264ec..e3bf5fb2 100755 --- a/utils/build-collection.sh +++ b/utils/build-collection.sh @@ -141,21 +141,26 @@ rm -rf .copr .git* .pre* echo -e "\033[ARemoving files from build dir $BUILD ... \033[32;1mDONE\033[0m" if [ "$collection" != "rpm" ]; then - cat > README-COLLECTION.md < README.md <> README-COLLECTION.md <> README.md <