You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I update the version 0.1.1-dev to 0.1.1-rel, I tried the command:
bumpversion release
Error occured like this:
(python3) jeeyshe@jeeyshe-PC:~/Code/python/xshop$ bumpversion release
Evaluating 'parse' option: '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)-(?P<release>[a-z]+)' does not parse current version '0.1.1'
Traceback (most recent call last):
File "/home/jeeyshe/.local/share/.virtualenvs/python3/bin/bumpversion", line 8, in <module>
sys.exit(main())
File "/home/jeeyshe/.local/share/.virtualenvs/python3/lib/python3.8/site-packages/bumpversion/__init__.py", line 916, in main
f.replace(current_version, new_version, context, args.dry_run)
File "/home/jeeyshe/.local/share/.virtualenvs/python3/lib/python3.8/site-packages/bumpversion/__init__.py", line 238, in replace
context['new_version'] = self._versionconfig.serialize(new_version, context)
File "/home/jeeyshe/.local/share/.virtualenvs/python3/lib/python3.8/site-packages/bumpversion/__init__.py", line 561, in serialize
serialized = self._serialize(version, self._choose_serialize_format(version, context), context)
File "/home/jeeyshe/.local/share/.virtualenvs/python3/lib/python3.8/site-packages/bumpversion/__init__.py", line 542, in _choose_serialize_format
self._serialize(version, serialize_format, context, raise_if_incomplete=True)
File "/home/jeeyshe/.local/share/.virtualenvs/python3/lib/python3.8/site-packages/bumpversion/__init__.py", line 485, in _serialize
for k in version:
TypeError: 'NoneType' object is not iterable
Is there some thing wrong?
The text was updated successfully, but these errors were encountered:
It's my configure following:
When I update the version
0.1.1-dev
to0.1.1-rel
, I tried the command:Error occured like this:
Is there some thing wrong?
The text was updated successfully, but these errors were encountered: