Copilot commented on code in PR #51117:
URL: https://github.com/apache/arrow/pull/51117#discussion_r3900223153


##########
dev/release/post-10-bump-versions.sh:
##########
@@ -70,6 +71,13 @@ if [ ${BUMP_UPDATE_LOCAL_DEFAULT_BRANCH} -gt 0 ]; then
   git rebase upstream/${DEFAULT_BRANCH}
 fi
 
+if [ ${BUMP_CHANGELOG} -gt 0 ]; then
+  echo "Updating CHANGELOG.md for ${version}"
+  archery release changelog add ${version}
+  git add "${SOURCE_DIR}/../../CHANGELOG.md"
+  git commit -m "MINOR: [Release] Update CHANGELOG.md for ${version}"

Review Comment:
   The changelog step should quote version arguments and pass an explicit Arrow 
source path to `archery` so it behaves deterministically regardless of the 
current working directory. This also lets `git add` target the correct 
CHANGELOG path consistently.



-- 
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