Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/moremoban/gease into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Oct 17, 2020
2 parents 5fa6e8b + baff8e2 commit 6ec23c9
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Change log
================================================================================

0.0.9 - 17.10.2020
--------------------------------------------------------------------------------

**Updated**

#. return all user details using github token if exist. otherwise use public api
under quota

0.0.8 - 21.09.2020
--------------------------------------------------------------------------------

Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ test: lint
install_test:
pip install -r tests/requirements.txt

git-diff-check:
git diff --exit-code

lint:
bash lint.sh

Expand Down
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ gease - gITHUB RELease
.. image:: https://img.shields.io/github/stars/moremoban/gease.svg?style=social&maxAge=3600&label=Star
:target: https://github.com/moremoban/gease/stargazers

.. image:: https://img.shields.io/static/v1?label=continuous%20templating&message=%E6%A8%A1%E7%89%88%E6%9B%B4%E6%96%B0&color=blue&style=flat-square
:target: https://moban.readthedocs.io/en/latest/#at-scale-continous-templating-for-open-source-projects

.. image:: https://img.shields.io/static/v1?label=coding%20style&message=black&color=black&style=flat-square
:target: https://github.com/psf/black



It's understood that you may use github cli, however **gease** simply makes a git release using github api v3.
Expand Down
6 changes: 3 additions & 3 deletions gease/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.0.8"
__author__ = "C. W."
__description__ = "simply makes a git release using github api v3"
__version__ = '0.0.9'
__author__ = 'C. W.'
__description__ = 'simply makes a git release using github api v3'
3 changes: 1 addition & 2 deletions lint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pip install flake8
flake8 . --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long
python setup.py checkdocs
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

NAME = "gease"
AUTHOR = "C. W."
VERSION = "0.0.8"
VERSION = "0.0.9"
EMAIL = "wangc_2011@hotmail.com"
LICENSE = "MIT"
ENTRY_POINTS = {
Expand All @@ -45,7 +45,7 @@
"simply makes a git release using github api v3"
)
URL = "https://github.com/moremoban/gease"
DOWNLOAD_URL = "%s/archive/0.0.8.tar.gz" % URL
DOWNLOAD_URL = "%s/archive/0.0.9.tar.gz" % URL
FILES = ["README.rst", "CHANGELOG.rst"]
KEYWORDS = [
"python",
Expand Down Expand Up @@ -78,13 +78,14 @@
}
# You do not need to read beyond this line
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
GS_COMMAND = ("gs gease v0.0.8 " +
"Find 0.0.8 in changelog for more details")
HERE = os.path.abspath(os.path.dirname(__file__))

GS_COMMAND = ("gs gease v0.0.9 " +
"Find 0.0.9 in changelog for more details")
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
"Please install gease to enable it.")
UPLOAD_FAILED_MSG = (
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
HERE = os.path.abspath(os.path.dirname(__file__))


class PublishCommand(Command):
Expand Down Expand Up @@ -130,7 +131,6 @@ def run(self):
"publish": PublishCommand
})


def has_gease():
"""
test if github release command is installed
Expand Down

0 comments on commit 6ec23c9

Please sign in to comment.