graflo.architecture.evolution.version¶
Semantic version bump helpers for manifest evolution.
Functions:¶
bump_semver_minor(version)
¶
Return version with MINOR incremented (MAJOR.PATCH unchanged), preserving suffix.
A missing or blank version starts at 0.1.0. A version that is not
MAJOR.MINOR.PATCH -- a date, a two-part number -- is returned as it is:
there is no minor to increment, and replacing an author's label with
0.1.0 would move the version backwards and lose what they wrote.
Source code in graflo/architecture/evolution/version.py
semver_core(version)
¶
(MAJOR, MINOR, PATCH) of version, or None when it has no such prefix.