Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
dwinston committed Jun 19, 2019
1 parent bff1012 commit 2952f33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mongogrant/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.2.2"
__version__ = "0.3.0"

from mongogrant.client import Client
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='mongogrant',
version="0.2.2",
version="0.3.0",
packages=find_packages(),
include_package_data=True,
url='https://github.com/materialsproject/mongogrant/',
Expand Down Expand Up @@ -39,4 +39,4 @@
[console_scripts]
mgrant=mongogrant.scripts.mgrant:cli
''',
)
)
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@task
def setver(c, patch=False, new_ver=''):
if (not patch and not new_ver) or (patch and new_ver):
raise Exception("Either use --patch or specify e.g. --full='x.y.z.")
raise Exception("Either use --patch or specify e.g. --new-ver='x.y.z.")
if patch:
v = [int(x) for x in __version__.split(".")]
v[2] += 1
Expand All @@ -33,4 +33,4 @@ def setver(c, patch=False, new_ver=''):
def publish(c):
c.run("rm dist/*.*", warn=True)
c.run("python setup.py sdist bdist_wheel")
c.run("twine upload dist/*")
c.run("twine upload dist/*")

0 comments on commit 2952f33

Please sign in to comment.