You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "tmater (via GitHub)" <gi...@apache.org> on 2026/01/28 13:53:58 UTC

[I] Milestone assignment script fails when multiple milestones exist [arrow-java]

tmater opened a new issue, #993:
URL: https://github.com/apache/arrow-java/issues/993

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   ### Summary
   The `dev_pr_milestone.sh` script fails to assign a milestone when there are multiple open milestones matching the version pattern.
   
   ### Root Cause
   
   Missing pipe (`|`) between `grep` and `head -n1` on lines 40-41:
   
   ```bash
   grep -E '^[0-9]+\.[0-9]+\.[0-9]+$'
   head -n1
   ```
   
   This causes all matching milestones to be captured in the variable instead of just the first one.
   
   ### Error Output
   
   ```
   Assigning milestone: 19.0.0
   20.0.0
   '19.0.0
   20.0.0' not found
   Error: Process completed with exit code 1.
   ```
   
   ### Fix
   
   Add the missing pipe to properly chain the commands:
   
   ```bash
   grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' |
   head -n1
   ```


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Milestone assignment script fails when multiple milestones exist [arrow-java]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre closed issue #993: Milestone assignment script fails when multiple milestones exist
URL: https://github.com/apache/arrow-java/issues/993


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org