File 5853-Don-t-tar-man-pages-for-OTP-27.patch of Package erlang
From 8168091be9a94acbd5f3f19c44ea6b1dd4d98c40 Mon Sep 17 00:00:00 2001
From: Raimo Niskanen <raimo@erlang.org>
Date: Mon, 15 Jul 2024 16:37:50 +0200
Subject: [PATCH 3/5] Don't tar man pages for OTP >= 27
---
.github/scripts/release-docs.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/scripts/release-docs.sh b/.github/scripts/release-docs.sh
index f3a8e841df..be96eac08b 100755
--- a/.github/scripts/release-docs.sh
+++ b/.github/scripts/release-docs.sh
@@ -7,6 +7,8 @@ else
fi
sudo chown -R `whoami` docs
cd docs
-tar czf ../otp_doc_man.tar.gz man
-rm -rf man
+if [[ $1 < 27 ]]; then
+ tar czf ../otp_doc_man.tar.gz man
+ rm -rf man
+fi
tar czf ../otp_doc_html.tar.gz *
--
2.35.3