dvershinin/lastversion

Does not differntiate between tags and releases on github repos

Closed this issue · 2 comments

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

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

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