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
The Idea is to have things like: 0.1-staging -> 0.1 and so on. However, with this configuration I get the following error:
Parsed the following values: major=0, minor=1, release=staging
Attempting to increment part 'release'
Traceback (most recent call last):
File "/Users/mcabrera/development/sales_ground_truth/sales_gt_env/bin/bumpversion", line 11, in <module>
sys.exit(main())
File "/Users/mcabrera/development/sales_ground_truth/sales_gt_env/lib/python3.6/site-packages/bumpversion/__init__.py", line 816, in main
new_version = current_version.bump(positionals[0], vc.order())
File "/Users/mcabrera/development/sales_ground_truth/sales_gt_env/lib/python3.6/site-packages/bumpversion/__init__.py", line 408, in bump
new_values[label] = self._values[label].bump()
File "/Users/mcabrera/development/sales_ground_truth/sales_gt_env/lib/python3.6/site-packages/bumpversion/__init__.py", line 349, in bump
return VersionPart(self.config.bump(self.value), self.config)
File "/Users/mcabrera/development/sales_ground_truth/sales_gt_env/lib/python3.6/site-packages/bumpversion/__init__.py", line 308, in bump
return self._values[self._values.index(value)+1]
IndexError: list index out of range```
If I add an optional value:
I am attempting to use the following configuration:
The Idea is to have things like: 0.1-staging -> 0.1 and so on. However, with this configuration I get the following error:
[bumpversion:part:release]
optional_value = gamma
values =
staging
gamma
The text was updated successfully, but these errors were encountered: