deno_registry2 icon indicating copy to clipboard operation
deno_registry2 copied to clipboard

Feature request: sorting of release tags (or special Deno release tags)

Open bcoe opened this issue 3 years ago • 0 comments

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?

bcoe avatar Mar 10 '21 19:03 bcoe