diff --git a/dev/release/post-09-docs.sh b/dev/release/post-09-docs.sh index 62766e1f99b4..51e74541eb74 100755 --- a/dev/release/post-09-docs.sh +++ b/dev/release/post-09-docs.sh @@ -37,6 +37,7 @@ pushd "${ARROW_SITE_DIR}" git checkout asf-site git checkout -b ${branch_name} rm -rf docs/* +git checkout docs/c_glib/index.html popd pushd "${ARROW_DIR}" @@ -54,12 +55,11 @@ if [ ${PUSH} -gt 0 ]; then git add docs git commit -m "[Website] Update documentations for ${version}" git push -u origin ${branch_name} - popd - github_url=$(git remote get-url origin | \ sed \ -e 's,^git@github.com:,https://github.com/,' \ -e 's,\.git$,,') + popd echo "Success!" echo "Create a pull request:"