deno_registry2
deno_registry2 copied to clipboard
Feature request: sorting of release tags (or special Deno release tags)
Background
I've been developing automated release tooling that allows for releases from multiple branches. The goal being that you could support the main release line, along with back-porting security fixes to old majors, here's an example:
https://github.com/yargs/yargs-parser/commit/eab6c039888bd5d51f33dda7a98808564acfa938
Problem
https://deno.land/x treats the most recent tag created as the latest release.
This means when I back-port a security fix to an ancient release line, Deno picks this release up.
Potential Solutions
- detect that a repository is using a special
-deno
suffix for releases (I do this in yargs to differentiate between the Deno and JavaScript releases), if a repo uses a special suffix, ignore releases without suffix. - alternatively, perhaps sort the most recent releases?