Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 568 Bytes

latest-version-of-a-specific-library.adoc

File metadata and controls

14 lines (10 loc) · 568 Bytes

Latest version of a specific library

If you are using Clojure CLI Tools v1.10.1.697 or later, You can use -X option to find out the latest version of a specific library.

;; Try to find Java library by default
clojure -Sdeps '{:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}}' -X antq.core/latest :name antq

;; You can specify library type
clojure -Sdeps '{:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}}' -X antq.core/latest :name actions/checkout :type :github-tag