Alex Hedley
Alex Hedley

Reputation: 786

Get CircleCI Latest Orb Version

I'm looking to get the latest version of an Orb in CircleCI via an API.

For example

node 5.0.2

Am I missing something in the Docs or the API Docs?

Also tried looking at how Shields was showing the version CircleCI Orb Version but didn't get anywhere.

Upvotes: 0

Views: 180

Answers (1)

yaningo
yaningo

Reputation: 523

There's no CircleCI API endpoint for orbs (AFAIK). But you could achieve the result you're looking for with the CircleCI CLI:

circleci orb info circleci/node|grep -i latest|cut -d "@" -f 2

Upvotes: 0

Related Questions