Skip to main content

simply makes a git release using github api v3

Project description

https://api.travis-ci.org/moremoban/gease.svg https://codecov.io/github/moremoban/gease/coverage.png https://badge.fury.io/py/gease.svg https://pepy.tech/badge/gease/month https://img.shields.io/github/stars/moremoban/gease.svg?style=social&maxAge=3600&label=Star

It’s understood that you may use github cli, however gease simply makes a git release using github api v3.

https://github.com/moremoban/gease/raw/master/images/cli.png

Installation

You can install gease via pip:

$ pip install gease

or clone it and install it:

$ git clone https://github.com/moremoban/gease.git
$ cd gease
$ python setup.py install

Setup and Configuration

First, please create personal access token for yourself on github.

https://github.com/moremoban/gease/raw/master/images/generate_token.png

Next, please create a gease file(.gease) in your home directory and place the token inside it. Gease file is a simple json file. Here is an example:

{"user":"chfw","personal_access_token":"AAFDAFASDFADFADFADFADFADF"}

Organisation

In order to make a release for your organisation, “read:org” right is required:

https://user-images.githubusercontent.com/4280312/33229231-0220f60e-d1c3-11e7-8c95-3e1207415929.png

Command Line

gease simply makes a git release using github api v3. version 0.0.1

Usage: gs repo tag [release message]

where:

   release message is optional. It could be a quoted string or space separate
       string

Examples:

   gs gease v0.0.1 first great release
   gs gease v0.0.2 "second great release"

:: contributors list the contributors of a repo. version 0.0.4

Usage: contributors user/org repo

Where:
user/org is the your github username or orgnisation name repo is the repository name

Examples:

contributors pyexcel pyexcel-io

License

MIT

Change log

0.0.5 - 21.08.2020

Added

  1. use login name if full name of the contributor is null

0.0.4 - 21.08.2020

Added

  1. get contributors of a github repo

0.0.3 - 25.11.2017

Added

  1. #1: release repos of the organisation that you belong to.

0.0.2 - 15.10.2017

Added

  1. quit with -1 if github responds with error

0.0.1 - 13.10.2017

Added

  1. First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gease, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size gease-0.0.5-py2.py3-none-any.whl (10.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size gease-0.0.5.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page