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: use latest api for filtering out prereleases #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArcticLampyrid
Copy link

这避免了普通用户被引导到 nightly / *-rc 等非正式版本

image

@ArcticLampyrid ArcticLampyrid added the bug Something isn't working label Oct 24, 2024
@ArcticLampyrid
Copy link
Author

FYI,参见 GitHub REST API 文档:Get the latest release

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant