Open alac88 opened 10 months ago
Interesting, if you only put ./pyproject.toml
inside version-file
does it than work as expect?
Nope, same behavior even though I only put ./pyproject.toml
You added version-file, but you need to set version-path as well. By default it uses version, but it looks like your version is under tool.poetry. so set your version-path to tool.poetry.version.
Works like a charm for single version files, thank you. However, how would you specify different paths as two different version files are used here (package.json
-> version
and pyproject.toml
-> tool.poetry.version
)?
We either:
version-file
version-file
to support defining the path in it (eg. version-file: package.json=sub.version
Could this be implemented in the next version? I am having the same issue.
Hi, I have the following configuration to automate changelog generation and release:
By specifying my
pyproject.toml
in the version files and even though a version is already specified in the first section, it does bump the version but on the very first line of the file like so:However I would like it to bump the version in the first section instead:
Is there any way to only bump the targeted version? Cheers