dvershinin / lastversion

Find the latest release version of an arbitrary project
https://lastversion.getpagespeed.com
BSD 2-Clause "Simplified" License
375 stars 33 forks source link

Does not differntiate between tags and releases on github repos #108

Closed ithinkido closed 1 year ago

ithinkido commented 1 year ago

In some rare cases, the tag version is not the same as the release version , and when pointing lastversion to the release page , it still seems to be pulling the tag version and asset info.

eg , this page

when running lastversion --assets https://github.com/evil-mad/axidraw/releases It does not return the assets from the release page, but rather the assets from the tags page My goal is to run lastversion --assets --filter lin-x86 unzip https://github.com/evil-mad/axidraw/releases -o ad

dvershinin commented 1 year ago

I think what you're looking for is --having-asset switch: lastversion --having-asset --assets --filter lin-x86 unzip https://github.com/evil-mad/axidraw/releases -o ad

ithinkido commented 1 year ago

That is exactly what I needed. ! Thank you very much for the work you have done on the fantastic tool.