You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by ch...@apache.org on 2023/04/24 23:17:33 UTC

[bookkeeper] branch master updated: Fix release-major script bug (#3934)

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

chenhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 2364621870 Fix release-major script bug (#3934)
2364621870 is described below

commit 2364621870bfe8365c3166b00926c6ab9fc92c5d
Author: Hang Chen <ch...@apache.org>
AuthorDate: Tue Apr 25 07:17:26 2023 +0800

    Fix release-major script bug (#3934)
    
    ### Motivation
    The release-major script execute `cd site3/website` twice, which will lead to `No such directory` error
---
 site3/website/scripts/release-major.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/site3/website/scripts/release-major.sh b/site3/website/scripts/release-major.sh
index d3074300c3..19ed6f55ce 100755
--- a/site3/website/scripts/release-major.sh
+++ b/site3/website/scripts/release-major.sh
@@ -29,8 +29,6 @@ cd site3/website
 sidebar_file="sidebars.json"
 docs_dir="docs"
 
-cd site3/website
-
 # create versioned sidebar file
 cp $sidebar_file versioned_sidebars/version-${NEW_RELEASE}-sidebars.json
 # add unique id for each item in the sidebar