Skip to content

Commit

Permalink
Add user mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Dec 28, 2018
1 parent 1d45e70 commit c4fdefb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION ?= 0.2.2
VERSION ?= 0.3.0
CACHE ?= --no-cache=1
FULLVERSION ?= ${VERSION}
archs ?= s390x arm32v7 amd64 i386 arm64v8 arm32v6
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ First, I register my webhook :
an UUID is printed. this UUID will be required to unsubscribe the webhook.

When `jaymoulin/google-music-manager` releases a new version, `https://example.com/updated` will be called with HTTP verb `POST` and body, a JSON like this :
When `jaymoulin/google-music-manager` releases a new version, `https://example.com/updated` will be called with HTTP method `POST` and body, a JSON like this :

.. code::
Expand Down
2 changes: 1 addition & 1 deletion github_release_notifier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""

__all__ = ['parser', 'webhook', 'notifier']
__version__ = '0.2.3'
__version__ = '0.3.0'
2 changes: 1 addition & 1 deletion github_release_notifier/notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .parser import parse
from pathlib import Path

__DEFAULT_FILE__ = '/root/.github_release_notifier/versions'
__DEFAULT_FILE__ = str(Path.home()) + '/.github_release_notifier/versions'


def version_compare(version1: str, version2: str) -> int:
Expand Down
2 changes: 1 addition & 1 deletion github_release_notifier/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import KeysView

__SALT__ = 'saltedUnique'
__DEFAULT_FILE__ = '/root/.github_release_notifier/hooks'
__DEFAULT_FILE__ = str(Path.home()) + '/.github_release_notifier/hooks'


def _get_database(file: str = __DEFAULT_FILE__) -> dict:
Expand Down

0 comments on commit c4fdefb

Please sign in to comment.