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

feat(semver): Determine latest release using semver when applicable #27733

Merged
merged 5 commits into from
Nov 10, 2021

Conversation

wedamija
Copy link
Member

@wedamija wedamija commented Jul 24, 2021

latest release currently only works based on release date. This changes is to use semver for
projects where semver is in use. If multiple projects are being checked, for the moment we'll fall
back to date released.

We also switch latest to fetch the latest release for all selected projects. To do this we had to
fall back to raw sql, since even though Django does support window functions now, we don't have
a good way to filter on the rank window function

@wedamija wedamija requested review from a team as code owners July 24, 2021 00:53
@wedamija wedamija requested review from ahmedetefy, matejminar and a team July 24, 2021 00:53
)[:10]
)

if not releases_list:
Copy link
Contributor

Choose a reason for hiding this comment

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

oops I forgot to handle that .. thanks for adding that 😅

wedamija and others added 3 commits November 8, 2021 16:08
`latest` release currently only works based on release date. This changes is to use semver for
projects where semver is in use. If multiple projects are being checked, for the moment we'll fall
back to date released.
@wedamija wedamija merged commit 59108ad into master Nov 10, 2021
@wedamija wedamija deleted the danf/semver_latest_release branch November 10, 2021 00:21
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants