Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nektro/ghr
- Owner: nektro
- License: mit
- Created: 2021-08-26T03:10:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T08:31:09.000Z (8 months ago)
- Last Synced: 2024-06-06T09:16:45.721Z (8 months ago)
- Topics: github, release-automation, zig
- Language: Zig
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.sh
- License: LICENSE
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