Skip to content

Apache DataFusion SQL Query Engine

ARROW-11386: [Release] Fix post documents update script

Sutou Kouhei82588f35abeb
diff --git a/dev/release/post-09-docs.sh b/dev/release/post-09-docs.sh
index 62766e1f99..51e74541eb 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,^[email protected]:,https://github.com/,' \
-e 's,\.git$,,')
+ popd
echo "Success!"
echo "Create a pull request:"