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: fallback to look at releases when looking for latest release #1146

Merged
merged 7 commits into from
Dec 21, 2021
Merged

Conversation

chingor13
Copy link
Contributor

@chingor13 chingor13 commented Dec 20, 2021

The current method of finding the latest release for non-manifest repositories is to look through latest commits to find a merged PR that looks like a release-please PR for that component. This adds a fallback to consider manually tagged releases if that commit is on the target branch.

Fixes #1132
Towards #1088

Copy link
Contributor

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

Do we still fallback to bootstrap-sha as well, if all methods for looking up a prior release fail?

@chingor13
Copy link
Contributor Author

Do we still fallback to bootstrap-sha as well, if all methods for looking up a prior release fail?

This path is not using the manifest at all -- this is using the CLI with release-please release-pr --release-type=<type>.

@chingor13 chingor13 marked this pull request as ready for review December 20, 2021 23:05
@chingor13 chingor13 requested a review from a team December 20, 2021 23:05
@chingor13 chingor13 requested a review from a team as a code owner December 20, 2021 23:05
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.

Releasing from alternate path fails to find prior release
2 participants