https://github.com/nektro/ghr
Create GitHub releases and upload artifacts from the terminal.
https://github.com/nektro/ghr
github release-automation zig
Last synced: 21 days ago
JSON representation
Create GitHub releases and upload artifacts from the terminal.
- Host: GitHub
- URL: https://github.com/nektro/ghr
- Owner: nektro
- License: mit
- Created: 2021-08-26T03:10:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2026-05-30T20:00:28.000Z (22 days ago)
- Last Synced: 2026-05-30T21:20:31.463Z (21 days ago)
- Topics: github, release-automation, zig
- Language: Zig
- Homepage:
- Size: 43 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.sh
- License: LICENSE
Awesome Lists containing this project
README
# ghr

[](https://github.com/nektro/ghr/blob/master/LICENSE)
[](https://discord.gg/P6Y4zQC)
[](https://github.com/nektro/ghr/releases/latest)
[](https://github.com/nektro/ghr/releases)
[](https://github.com/sponsors/nektro)
[](https://ziglang.org/)
Create GitHub releases and upload artifacts from the terminal.
Based on the popular https://github.com/tcnksm/ghr, brought to the world of Zig.
## Install
```
$ zigmod install git https://github.com/nektro/ghr
```
Or download directly from https://github.com/nektro/ghr/releases
Or from source:
```
$ zigmod ci
$ zig build
```
## Usage
```sh
$ ghr [option] TAG PATH
```
## Options
```sh
-t TOKEN # *Set Github API Token
-u USERNAME # Set Github username
-r REPO # Set repository name
-c COMMIT # Set target commitish, branch or commit SHA
-n TITLE # Set release title
-b BODY # Set text describing the contents of the release
-draft # Release as draft (Unpublish)
-prerelease # Create prerelease
TAG # *Name of the git tag to create
PATH # *Directory that contains the artifacts to upload
```