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

feat: Support PEP440 versioning scheme #80

Merged
merged 2 commits into from
Mar 31, 2024
Merged

feat: Support PEP440 versioning scheme #80

merged 2 commits into from
Mar 31, 2024

Conversation

pawamoy
Copy link
Owner

@pawamoy pawamoy commented Mar 25, 2024

TODO:

  • tests for PEP 440 versions bumping
  • support prerelease bumps for semver no standard for pre-release/build metadata
  • improved logic for automatic bumping (major/minor/patch/prerelease for semver, epoch/major/minor/micro/pre/alpha/beta/candidate/post/dev for pep 440)
  • support additional "trim" mode? for example to go from 1.0.0-rc2 to 1.0.0 (semver), or from 1.0.0a0 to 1.0.0 (pep 440) use release to trim any pre-release metadata
  • cli/config option
  • docs
  • split commits: schemes, options

@pawamoy
Copy link
Owner Author

pawamoy commented Mar 27, 2024

@chme would you like to review this? Particularly the changes in _group_commits_by_version and _bump methods.

@pawamoy pawamoy marked this pull request as ready for review March 27, 2024 23:50
@pawamoy pawamoy merged commit 64e57ce into main Mar 31, 2024
33 checks passed
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.

1 participant