This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2f9ba7957a MINOR: [Release] Fix issue listing versions in 
post-10-docs.sh (#44567)
2f9ba7957a is described below

commit 2f9ba7957a56b6aae82cb7f4b584afe2b1987d30
Author: Bryce Mecum <[email protected]>
AuthorDate: Tue Oct 29 17:40:51 2024 -0700

    MINOR: [Release] Fix issue listing versions in post-10-docs.sh (#44567)
    
    ### Rationale for this change
    
    While testing the docs script (post-10-docs.sh) during the 18 release 
process, I noticed that the 16.1 docs got moved underneath the 17.0 docs 
folder. i.e., moved to `docs/17.0/16.1`. Which isn't right. This is because the 
previous glob pattern was `*.0` which doesn't match `16.1`.
    
    ### What changes are included in this PR?
    
    Just a change to post-10-docs.sh updating the glob.
    
    ### Are these changes tested?
    
    Yes, locally. I used this updated script to generate 
https://github.com/apache/arrow-site/pull/553.
    
    ### Are there any user-facing changes?
    
    No.
    
    Authored-by: Bryce Mecum <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 dev/release/post-10-docs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/post-10-docs.sh b/dev/release/post-10-docs.sh
index 58a462551f..70c54c555f 100755
--- a/dev/release/post-10-docs.sh
+++ b/dev/release/post-10-docs.sh
@@ -56,7 +56,7 @@ git branch -D ${branch_name} || :
 git checkout -b ${branch_name}
 # list and remove previous versioned docs
 versioned_paths=()
-for versioned_path in docs/*.0/; do
+for versioned_path in docs/*.*/; do
   versioned_paths+=(${versioned_path})
   rm -rf ${versioned_path}
 done

Reply via email to