Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumpversion doesn't pay attention to the -C directive #11

Open
corby opened this issue Apr 2, 2024 · 0 comments
Open

bumpversion doesn't pay attention to the -C directive #11

corby opened this issue Apr 2, 2024 · 0 comments

Comments

@corby
Copy link

corby commented Apr 2, 2024

We use build scripts that aren't run from within the project directory because we are building multiple projects at the same time.
We use the command poetry -C ${dir} build-project -f wheel to build the project.
In the pyproject.toml file we use a relative path:

[tool.poetry_bumpversion.file."../../src/<company>/<dept>/<app>/__init__.py"]

However, the bumpverision plugin doesn't pay attention to -C, but only uses cwd, so the relative path is not interpreted properly and it fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant