Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Create GitHub releases and upload artifacts from the terminal.

Awesome Lists containing this project

README

        

# ghr

Create GitHub releases and upload artifacts from the terminal.

Based on the popular https://github.com/tcnksm/ghr, brought to the world of Zig.

## 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
```

## Installation
With [Zigmod](https://github.com/nektro/zigmod)
```sh
$ zigmod aq install 1/nektro/ghr
```

From Source
```
zigmod fetch
zig build
```

## License
MIT