diff --git a/pyconcrete-admin.py b/pyconcrete-admin.py index a1abcd9..9a0f1df 100755 --- a/pyconcrete-admin.py +++ b/pyconcrete-admin.py @@ -190,9 +190,10 @@ def release(self, args): import pypandoc readme = pypandoc.convert('README.md', 'rst') with open('README.rst', 'wb') as f: - f.write(readme) + f.write(readme.encode('utf8')) except ImportError: print('you need to install `pypandoc` before release pyconcrete') + raise subprocess.call('python setup.py sdist', shell=True) # ignore can't found README error subprocess.check_output('twine upload dist/*', shell=True) diff --git a/src/pyconcrete/version.py b/src/pyconcrete/version.py index 2c7bffb..f8d9095 100644 --- a/src/pyconcrete/version.py +++ b/src/pyconcrete/version.py @@ -1 +1 @@ -__version__ = '0.12.0' +__version__ = '0.12.1'