kou commented on PR #43294:
URL: https://github.com/apache/arrow/pull/43294#issuecomment-2238737551
Could you apply this?
```diff
diff --git a/dev/release/post-12-bump-versions-test.rb
b/dev/release/post-12-bump-versions-test.rb
index 2bd1458746..f31e1a3122 100644
--- a/dev/release/post-12-bump-versions-test.rb
+++ b/dev/release/post-12-bump-versions-test.rb
@@ -358,8 +358,15 @@ class PostBumpVersionsTest < Test::Unit::TestCase
def test_deb_package_names
omit_on_release_branch unless bump_type.nil?
current_commit = git_current_commit
- stdout = bump_versions("DEB_PACKAGE_NAMES")
- changes = parse_patch(git("log", "-p", "#{current_commit}.."))
+ stdout = bump_versions("VERSION_POST_TAG", "DEB_PACKAGE_NAMES")
+ log = git("log", "-p", "#{current_commit}..")
+ # Remove a commit for VERSION_POST_TAG
+ if log.scan(/^commit/).size == 1
+ log = ""
+ else
+ log.gsub!(/\A(commit.*?)^commit .*\z/um, "\\1")
+ end
+ changes = parse_patch(log)
sampled_changes = changes.collect do |change|
first_hunk = change[:hunks][0]
first_removed_line = first_hunk.find { |line| line.start_with?("-") }
```
--
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]