nektro/ghr
Create GitHub releases and upload artifacts from the terminal.
Create GitHub releases and upload artifacts from the terminal.
Based on the popular https://github.com/tcnksm/ghr, brought to the world of Zig.
$ ghr [option] TAG PATH
-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
With Zigmod
$ zigmod aq install 1/nektro/ghr
From Source
zigmod fetch
zig build
MIT