🍺 BREW Explorer

← all formulae

ghr

brew install ghr v0.18.3 MIT

Upload multiple artifacts to GitHub Release in parallel

714
30-day installs · #1488
4.8k
90-day · #1115
21.9k
365-day · #1020
1.3k
★ GitHub stars · updated 2mo ago

Build dependencies

go

GitHub topics

golang

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Upload multiple artifacts to GitHub Release in parallel",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:01+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "ghr",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-09T21:02:58Z",
  "github_readme_excerpt": "ghr\n====\n\n[![GitHub release](https://img.shields.io/github/release/tcnksm/ghr.svg?style=flat-square)][release]\n[![Test](https://github.com/tcnksm/ghr/actions/workflows/test.yml/badge.svg)][GitHub Actions]\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/tcnksm/ghr)][PkgGoDev]\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license]\n\n[release]: https://github.com/tcnksm/ghr/releases\n[GitHub Actions]: https://github.com/tcnksm/ghr/actions/workflows/test.yml\n[license]: https://github.com/tcnksm/ghr/blob/master/LICENSE\n[PkgGoDev]: https://pkg.go.dev/github.com/tcnksm/ghr\n\n`ghr` creates GitHub Release and uploads artifacts in parallel.\n\n## Demo\n\nThis demo creates GitHub Release page with `v1.0.0` tag and uploads cross-compiled golang binaries.\n\n![](doc/ghr.gif)\n\nYou can see release page [here](https://github.com/tcnksm/ghr-demo/releases/tag/v1.0.0).\n\n## Usage\n\nUsing `ghr` is simple. After setting GitHub API token (see more on [GitHub API Token](#github-api-token) section), change into your repository root directory and run the following command:\n\n```bash\n$ ghr [option] TAG [PATH]\n```\n\nYou must provide `TAG` (git tag) and optionally a `PATH` to artifacts you want to upload. You can specify a file or a directory. If you provide a directory, all files in that directory will be uploaded.\n\n`ghr` assumes that you are in a git repository when executed. This is because normally the artifacts you want to upload to a GitHub Release page are in that repository or generated there. With this assumption, `ghr` *implicitly* reads repository URL from `.git/config` file. But you can change this kind of information, see [Options](#options) section.\n\n### GitHub API Token\n\nTo use `ghr`, you need to get a GitHub token with an account which has enough permissions to create releases. To get a token, visit GitHub account settings page, then go to Applications for the user. Here you can create a token in the Personal access tokens section. For a private repo",
  "github_repo": "tcnksm/ghr",
  "github_stars": 1262,
  "github_topics": [
    "golang"
  ],
  "homepage": "https://github.com/tcnksm/ghr",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 714,
  "installs_365d": 21921,
  "installs_90d": 4758,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "ghr",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1488,
  "rank_365d": 1020,
  "rank_90d": 1115,
  "raw_hash": "8b0cfaee53d7fa26",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/ghr.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.18.3",
  "versioned_formulae": [],
  "why_use_this": null
}