-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: clean up code in releaseapi package
- Uses github.com/gregjones/httpcache for downloading the release index, which removes the need for caching logic. - Uses github.com/Masterminds/semver/v3 for checking version constraints, which includes JSON marshalling support. - Filters out prerelease versions when there are no constraints.
- Loading branch information
1 parent
865c249
commit 77ca7f7
Showing
4 changed files
with
106 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.