kou commented on code in PR #979:
URL: https://github.com/apache/arrow-adbc/pull/979#discussion_r1295089999


##########
ci/scripts/website_build.sh:
##########
@@ -85,18 +84,29 @@ main() {
     fi
     echo "Latest version: ${latest_version} in directory ${latest_dir}"
 
+    # Make a copy of the latest release under a stable URL
+    rm -rf "${site}/current/"
+    cp -r "${site}/${latest_dir}" "${site}/current/"
+    git -C "${site}" add --force "current"

Review Comment:
   ```suggestion
       git -C "${site}" add -f "current"
   ```
   
   Or we can use `--force` for other `git -C "#{site}" add ...`s.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to