Skip to content

Commit

Permalink
Update version for fix pypi upload error issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Falldog committed Sep 15, 2018
1 parent c238a73 commit 975de1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyconcrete-admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/pyconcrete/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.12.0'
__version__ = '0.12.1'

0 comments on commit 975de1f

Please sign in to comment.