From 7c6f23923fe98d41548341c509d3b354284b6d9b Mon Sep 17 00:00:00 2001 From: jadamcrain Date: Mon, 12 Oct 2026 12:15:40 -0700 Subject: [PATCH] Prune superseded docs versions when publishing a release Runs the docs repo's prune script so that pre-releases and older patch releases are removed in the same commit that publishes a release. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca4f2ca..bea068cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -362,6 +362,8 @@ jobs: mkdir -p ./rodbus/${{github.ref_name}} cp -a ../artifacts/doc-api/* ./rodbus/${{github.ref_name}} cp -a ../artifacts/doc-guide/* ./rodbus/${{github.ref_name}} + # Remove versions superseded under the docs repo's retention policy + ./scripts/prune.sh # Check if there are actual changes to commit git add -A if git diff --staged --quiet; then