Skip to content

Commit

Permalink
release 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
exesse committed Jan 7, 2021
1 parent 699c3e0 commit 6073b09
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04

LABEL author="Vladislav I. Kulbatski" email="[email protected]"
LABEL version="1.0.3" author="Vladislav I. Kulbatski" email="[email protected]"

WORKDIR /mongo-dump

Expand All @@ -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"]
2 changes: 1 addition & 1 deletion mongodump_s3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__']
4 changes: 2 additions & 2 deletions mongodump_s3/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
license="MIT",
classifiers=[
Expand All @@ -35,7 +35,7 @@
],
entry_points={
"console_scripts": [
"realpython=mongodump_s3.__main__:main",
"mongodump-s3=mongodump_s3.__main__:main",
]
},
)

0 comments on commit 6073b09

Please sign in to comment.