2

How can I get the hash of the latest release in Github CLI?

I am able to list the most recent release via the CLI with the following:

gh release list --limit 1 

which gives me

v3.59.0  Latest  (v3.59.0)  about 1 day ago

But it doesn't give me the hash of that release.

How can I retrieve the hash with via the gh CLI tool or any other means?

torek
  • 448,244
  • 59
  • 642
  • 775
Stretch0
  • 8,362
  • 13
  • 71
  • 133

0 Answers0