nestdotland/hatcher

Improve semantic versioning detection logic, in case the lack of the Latest version Tag

Closed this issue ยท 4 comments

Is your feature request related to a problem? If so, please describe.
This is feature request.

$ eggs update --file .github/workflows/gh-pages.yml
Warning: could not find the latest version of pagic.

Your dependencies are already up to date!

This repository is the lack of the Latest version Tag, but do semvar so that egg should detection the latest version from all versions.
https://github.com/xcatliu/pagic/releases

Here is the point of improvement.
https://github.com/nestdotland/nest.land/blob/master/eggs/src/commands/update.ts#L67-L74

Describe the solution you'd like
Expected Diff example.(I updated manualy.)
yoshixmk/deno-x-ranking@aedc665#diff-fc6988097954f601e9f877d8b1b5baa2

Thank you for raising this issue ๐Ÿ™‚
Indeed, currently tags are not taken into account, only latest release
We will work on this point ๐Ÿ‘

Can I work on this?

@humancalico Yes of course!
you should take a look at this file
https://github.com/nestdotland/hatcher/blob/master/lib/registries.ts

Fixed in #8