Support for new_version in TOML configuration
#149
HenriBlacksmith
started this conversation in
General
Replies: 1 comment 1 reply
-
|
This was an intended change since having both Another option might be to use a Then you could source that file to set up the environment variable when you run the the bumpversion command. I'm happy to discuss other workarounds or workflows with you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My team just moved from
bump2versiontobump-my-versionand we noted that it is not possible to force thenew_versionvalue when using TOML configuration.Our workflow was to have a single GitLab CI job to bump the version on our main branch and if one MR since last tag/version was adding the
new_versionin the.bumpversion.cfgfile (to force a minor or major bump because of the nature of the changes), then the job was doing the bump.In
bump-my-versionit seems that this option is just on the CLI? Was this intentional and what is the intent (I am not able to find traces of this change, but I did not do a deep search either ...)Beta Was this translation helpful? Give feedback.
All reactions