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

Add dynamic versioning plugin for Poetry #73

Merged
merged 2 commits into from
Apr 8, 2023
Merged

Add dynamic versioning plugin for Poetry #73

merged 2 commits into from
Apr 8, 2023

Conversation

jond01
Copy link
Owner

@jond01 jond01 commented Apr 8, 2023

Initialize it with the latest version, not `0.0.0`.
This plugin syncs the version attribute.
The source of truth is the Git tag. The version tag is taken
into the `pyproject.toml` file and the `__init__.py` file.
See:
https://github.com/mtkennerly/poetry-dynamic-versioning#readme
@jond01
Copy link
Owner Author

jond01 commented Apr 8, 2023

The release.yml workflow may probably be adapted:

  • Changing the Git checkout clone depth to include the latest version tag.
  • Adding the Poetry plugin.

@jond01 jond01 merged commit 1fcef2e into main Apr 8, 2023
@jond01 jond01 deleted the xil-55 branch April 8, 2023 15:44
@jond01 jond01 mentioned this pull request Apr 8, 2023
3 tasks
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

Successfully merging this pull request may close these issues.

Add a __version__ attribute to the package (PEP 396)
1 participant