mdb / gh-release-report

A gh CLI extension that reports and visualizes a GitHub release's downloads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI/CD

gh-release-report

A gh CLI extension that reports and visualizes a GitHub release's total download count, as well as the individual download counts for each of its assets.

demo

Usage

Inspect the download counts associated with a particular GitHub release:

gh release-report \
  --repo "cli/cli" \
  --tag "v1.0.0"

By default, the latest release associated with the current working directory's GitHub repository is targeted.

Installation

Install the gh CLI for your platform. For example, on Mac OS:

brew install gh

Install the latest release-report extension from its releases:

gh extension install mdb/gh-release-report

Development

Build and test gh-release-report locally:

make

Install a locally built gh-release-report for use as gh release-report:

make install

About

A gh CLI extension that reports and visualizes a GitHub release's downloads.


Languages

Language:Go 90.6%Language:Makefile 7.1%Language:Shell 2.4%