Contextualist / glare

gracefully download (latest) releases from GitHub
76 stars 20 forks source link

Matching tag with semver #2

Closed Contextualist closed 5 years ago

Contextualist commented 5 years ago

This resolves #1.

This allows the user to specify a release of specific version with a npm-flavor semver version constraint or a tag name. If a version constraint is provided, all releases' tag names are matched against that constraint, and the highest possible version is chosen.

API syntaxes: /{user}/{repo}/{asset_regex} (implies latest stable release, backward compatible) /{user}/{repo}@{semver|version_tag}/{asset_regex}