-
Notifications
You must be signed in to change notification settings - Fork 49
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
Get the latest release including pre-releases #2255
Conversation
Build failed. ✔️ pre-commit SUCCESS in 3m 58s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we rather use the first release from get_releases
(that one should list all the releases including the pre-releases)?
Build failed. ✔️ pre-commit SUCCESS in 1m 58s |
recheck |
Build failed. ✔️ pre-commit SUCCESS in 1m 51s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the tests are green, thanks!
For GitHub projects, GitProject.get_latest_release() considers only stable releases. If sync_release failed for a pre-release, the retrieved git ref is incorrect. Fix that. Signed-off-by: Nikola Forró <[email protected]>
Build failed. ✔️ pre-commit SUCCESS in 1m 59s |
For GitHub projects,
GitProject.get_latest_release()
considers only stable releases. If sync_release failed for a pre-release, the retrieved git ref is incorrect. Fix that.Fixes packit/specfile#325.