From 6073b09d890b27069da9722b3e31f427bf51960f Mon Sep 17 00:00:00 2001 From: exesse Date: Thu, 7 Jan 2021 13:35:23 +0100 Subject: [PATCH] release 1.0.3 --- Dockerfile | 4 ++-- mongodump_s3/__init__.py | 2 +- mongodump_s3/__main__.py | 4 ++-- setup.py | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 234171d..33fea0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:20.04 -LABEL author="Vladislav I. Kulbatski" email="hi@exesse.org" +LABEL version="1.0.3" author="Vladislav I. Kulbatski" email="hi@exesse.org" WORKDIR /mongo-dump @@ -9,6 +9,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends\ mongo-tools=3.6.3-0ubuntu1\ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN python3 -m pip install mongodump-s3 +RUN python3 -m pip install mongodump-s3==1.0.3 ENTRYPOINT [ "python3", "-m", "mongodump_s3"] \ No newline at end of file diff --git a/mongodump_s3/__init__.py b/mongodump_s3/__init__.py index 8e5733a..c313abe 100644 --- a/mongodump_s3/__init__.py +++ b/mongodump_s3/__init__.py @@ -4,6 +4,6 @@ from .dump import MongoDump from .notifications import Notifications -__version__ = '1.0.2' +__version__ = '1.0.3' __author__ = 'Vladislav I. Kulbatski' __all__ = ['MongoDump', 'S3', 'Notifications', '__version__'] diff --git a/mongodump_s3/__main__.py b/mongodump_s3/__main__.py index 018404b..ad7af81 100644 --- a/mongodump_s3/__main__.py +++ b/mongodump_s3/__main__.py @@ -403,8 +403,8 @@ def exec(self) -> bool: if s3_upload_result: end = str(datetime.now() - start)[:-7] success = '\U0001F4A5 mongodump-s3 finished the job.' \ - '\n\U0001F9BADump size is %s.' \ - '\n\U0001F312Processing time is %s' % (dump_size, end) + '\n\U0001F9BA Dump size is %s.' \ + '\n\U0001F312 Processing time is %s' % (dump_size, end) Notifications(success) mongodump.cleanup() return True diff --git a/setup.py b/setup.py index 0f3e7eb..a89fac4 100644 --- a/setup.py +++ b/setup.py @@ -10,12 +10,12 @@ # This call to setup() does all the work setup( name="mongodump-s3", - version="1.0.2", + version="1.0.3", description="Read the latest Real Python tutorials", long_description=README, long_description_content_type="text/markdown", url="https://github.com/exesse/mongodump-s3", - author="Real Python", + author="Vladislav I. Kulbatski ", author_email="hi@exesse.org", license="MIT", classifiers=[ @@ -35,7 +35,7 @@ ], entry_points={ "console_scripts": [ - "realpython=mongodump_s3.__main__:main", + "mongodump-s3=mongodump_s3.__main__:main", ] }, )