Skip to content

Conversation

@tmater
Copy link
Contributor

@tmater tmater commented Jan 28, 2026

The head -n1 command was not piped to grep output, causing all matching milestones to be captured instead of just the first one.

Example failure:

  Assigning milestone: 19.0.0
  20.0.0
  '19.0.0
  20.0.0' not found

Closes #993

The head -n1 command was not piped to grep output, causing
all matching milestones to be captured instead of just the first one.

Example failure:
  Assigning milestone: 19.0.0
  20.0.0
  '19.0.0
  20.0.0' not found
@github-actions

This comment has been minimized.

@tmater tmater changed the title MINOR: Fix missing pipe in milestone assignment script GH-993: Fix missing pipe in milestone assignment script Jan 28, 2026
@jbonofre
Copy link
Member

That's not a big deal as in this case the milestone assignment is made by hand (which make sense to select the right milestone). But ok, let's use a default milestone and update by hand if needed.

@jbonofre jbonofre added the bug-fix PRs that fix a big. label Jan 28, 2026
@tmater
Copy link
Contributor Author

tmater commented Jan 28, 2026

That's not a big deal as in this case the milestone assignment is made by hand (which make sense to select the right milestone). But ok, let's use a default milestone and update by hand if needed.

Thanks for the review, @jbonofre! I don’t think this is a major issue either. From the script, it looks like the intention is to pick the first result returned, which is why I submitted this fix.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@jbonofre jbonofre added this to the 19.0.0 milestone Jan 28, 2026
@jbonofre jbonofre merged commit ce1f3d7 into apache:main Jan 28, 2026
26 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Milestone assignment script fails when multiple milestones exist

3 participants