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

version managed by poetry-version-plugin is not recognized #2

Open
woutervh opened this issue Mar 29, 2023 · 0 comments
Open

version managed by poetry-version-plugin is not recognized #2

woutervh opened this issue Mar 29, 2023 · 0 comments

Comments

@woutervh
Copy link

I'm using this poetry-plugin: https://pypi.org/project/poetry-version-plugin/

in my pyproject.toml:

[tool.poetry]
...
version = "0" # version managed by poetry-version-plugin


[tool.poetry-version-plugin]
source = "init"

in src/<package_name>/init.py:

version= "0.1"

when making a release it show the dummy version from pyproject.toml, instead of the real version in init.py

> poetry release
   Release autoadd-bindir 0? (yes/no) [no]
@woutervh woutervh changed the title versin managed by poetry-version-plugin is not recognized version managed by poetry-version-plugin is not recognized Mar 30, 2023
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