Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/c4milo/github-release
Simple Github release command line tool
https://github.com/c4milo/github-release
cli github-releases go release-management
Last synced: 14 days ago
JSON representation
Simple Github release command line tool
- Host: GitHub
- URL: https://github.com/c4milo/github-release
- Owner: c4milo
- License: mpl-2.0
- Created: 2014-12-31T16:19:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T16:10:36.000Z (about 4 years ago)
- Last Synced: 2024-10-20T23:46:08.920Z (21 days ago)
- Topics: cli, github-releases, go, release-management
- Language: Go
- Homepage:
- Size: 41 KB
- Stars: 179
- Watchers: 6
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# github-release
[![Build Status](https://travis-ci.org/c4milo/github-release.svg?branch=master)](https://travis-ci.org/c4milo/github-release)Yet another Github release command line tool. This one, though, is much more minimalistic and simple to use.
```
Github command line release tool.Usage:
github-release ""Parameters:
: Github user and repository
: Used to created the release. It is also used as the release's name
: Reference from where to create the provided , if it does not exist
: The release description
: Glob pattern describing the list of files to include in the release
Make sure you enclose it in quotes to avoid the shell expanding the glob pattern.Options:
-version: Displays version
-prerelease: Identify the release as a prereleaseEnvironment variables:
DEBUG: Allows you to run github-release in debugging mode. DO NOT do this if you are attempting to upload big files.
GITHUB_TOKEN: Must be set in order to interact with Github's API
GITHUB_USER: Just in case you want an alternative way of providing your github user
GITHUB_REPO: Just in case you want an alternative way of providing your github repo
GITHUB_API: Github API endpoint. Set to https://api.github.com/repos/:github-user/:github-repo by defaultBefore using this tool make sure you set the environment variable GITHUB_TOKEN
with a valid Github token and correct authorization scopes to allow you to create releases
in your project. For more information about creating Github tokens please read the
official Github documentation at https://help.github.com/articles/creating-an-access-token-for-command-line-use/Author: https://github.com/c4milo
License: http://mozilla.org/MPL/2.0/```
### Examples
Feel free to inspect this project's [Makefile](https://github.com/c4milo/github-release/blob/master/Makefile) for an example on how this tool can be used to create releases like this:![](https://cldup.com/6Slplyys6X.png)