https://github.com/progrium/gh-release
DEPRECATED -- Utility for automating Github releases with file uploads
https://github.com/progrium/gh-release
Last synced: about 1 year ago
JSON representation
DEPRECATED -- Utility for automating Github releases with file uploads
- Host: GitHub
- URL: https://github.com/progrium/gh-release
- Owner: progrium
- License: mit
- Created: 2014-07-02T16:45:22.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2021-10-09T06:59:15.000Z (over 4 years ago)
- Last Synced: 2024-06-18T17:18:36.126Z (about 2 years ago)
- Language: Shell
- Homepage:
- Size: 63.5 KB
- Stars: 112
- Watchers: 7
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-release
Utility for creating, deleting, and uploading files to Github Releases.

## Getting gh-release
Download and uncompress the appropriate binary from [releases](https://github.com/progrium/gh-release/releases).
## Using gh-release
You need to have a [Github personal access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use) defined in your environment as `GITHUB_ACCESS_TOKEN`.
$ gh-release
Usage: gh-release create|destroy [branch] [name]
#### Creating a release with assets
Put any assets you want to upload with your release into a `release` directory. Then call `gh-release`. Here is an example:
$ gh-release create progrium/gh-release 1.0.0
This will create a tagged release `v1.0.0` then upload any files found in the `./release` directory. Optional arguments you can pass include the branch to tag the release from and a name for the release.
See this project's Makefile for a real example of using it in a Makefile.
#### Destroying a release
You can destroy a release by the version number you used to create the release:
$ gh-release destroy progrium/gh-release 1.0.0
This destroys the release and its assets, as well as the `v1.0.0` tag created for the release.
## Sponsor
This project was made possible thanks to [DigitalOcean](http://digitalocean.com).
## License
BSD