Implementation of versioning schemes using the git disatnce building blocks from the core api ([[fr.jeremyschoffen.mbt.alpha.core.versioning.simple-version]]).
Implementation of versioning schemes using the git disatnce building blocks from the core api ([[fr.jeremyschoffen.mbt.alpha.core.versioning.simple-version]]).
A simple version scheme based on git-distance. There is only one version number starting at 0 on a specific commit. It then becomes the number of commits from the initial version bumps after bumps.
This system allows for the use of alpha and beta qualifiers. A version without a qualifier can't go back to alpha nor
beta. To use them they need to be specified when the initial version is made conforming to the
:git-distance/qualifier
spec.
To specify a qualifier:
level
parameter is
usedfr.jeremyschoffen.mbt.alpha.default.versioning.schemes/initial-version
the qualifier is passed using
the key :versioning/bump-level
of the config map.
``A simple version scheme based on git-distance. There is only one version number starting at 0 on a specific commit. It then becomes the number of commits from the initial version bumps after bumps. This system allows for the use of alpha and beta qualifiers. A version without a qualifier can't go back to alpha nor beta. To use them they need to be specified when the initial version is made conforming to the `:git-distance/qualifier` spec. To specify a qualifier: - using [[fr.jeremyschoffen.mbt.alpha.default.versioning.schemes.protocols/initial-version]] the `level` parameter is used - using [[fr.jeremyschoffen.mbt.alpha.default.versioning.schemes/initial-version]] the qualifier is passed using the key `:versioning/bump-level` of the config map. ``
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close