Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix latest release lookup when target branch contains minor release #4

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

stephen-cox
Copy link
Member

@stephen-cox stephen-cox commented Aug 2, 2024

What does this change?

When there's a minor release value in the target branch (ie 1.8.x) determining the latest release fails unless there's already been a release for this value. We only need to get the latest release for the latest major version, which this now does.

How to test

Check PRs in Alert Banner.

With minor version in target: localgovdrupal/localgov_alert_banner#357
With only major version in target: localgovdrupal/localgov_alert_banner#358

Copy link
Member

@millnut millnut left a comment

Choose a reason for hiding this comment

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

Changes look good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants