Skip to content

Commit 13186d0

Browse files
committed
Fixes notifier cli run
1 parent a602fcd commit 13186d0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COPY qemu-*-static /usr/bin/
44

55
FROM builder
66

7-
ARG VERSION=0.3.0
7+
ARG VERSION=0.3.1
88
LABEL maintainer="Jay MOULIN <[email protected]> <https://twitter.com/MoulinJay>"
99
LABEL version=${VERSION}
1010

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION ?= 0.3.0
1+
VERSION ?= 0.3.1
22
CACHE ?= --no-cache=1
33
FULLVERSION ?= ${VERSION}
44
archs ?= s390x arm32v7 amd64 i386 arm64v8 arm32v6

github_release_notifier/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"""
44

55
__all__ = ['parser', 'webhook', 'notifier']
6-
__version__ = '0.3.0'
6+
__version__ = '0.3.1'

github_release_notifier/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# coding: utf-8
33

44
import argparse
5-
import github_release_notifier
5+
from github_release_notifier import notifier, webhook
66

77

88
def main():
@@ -31,11 +31,11 @@ def main():
3131
)
3232
args = parser.parse_args()
3333
if args.action == 'cron':
34-
print(github_release_notifier.notifier.run())
34+
print(notifier.run())
3535
if args.action == 'subscribe':
36-
print(github_release_notifier.webhook.subscribe(args.package, args.webhook))
36+
print(webhook.subscribe(args.package, args.webhook))
3737
if args.action == 'unsubscribe':
38-
github_release_notifier.webhook.unsubscribe(args.uuid, args.package, args.webhook)
38+
webhook.unsubscribe(args.uuid, args.package, args.webhook)
3939

4040

4141
if __name__ == "__main__":

0 commit comments

Comments
 (0)