The following shows results when online but not when offline:
$ clojure -X:deps find-versions '{:lib com.github.seancorfield/next-jdbc}'
{:git/tag "v1.2.796", :git/sha "bb4bea7"}
{:git/tag "v1.3.828", :git/sha "edae405"}
>etc
offline:
$ clojure -X:deps find-versions '{:lib com.github.seancorfield/next-jdbc}'
$ echo $?
0
For a maven-lib on the other hand connection status makes no difference in order to show earlier retrieved versions.
It would be helpful if clojure.tools.gitlibs.impl/tags would fetch
in a best-effort way instead of a necessity. This way the find-versions command would yield any fetched-before tag.