Api used when versioning the project using git state.
Api used when versioning the project using git state.
(bump {s :fr.jeremyschoffen.mbt.alpha.versioning/scheme
v :fr.jeremyschoffen.mbt.alpha.versioning/version
l :fr.jeremyschoffen.mbt.alpha.versioning/bump-level})
Bump a version using a version scheme.
Bump a version using a version scheme.
(current-version {s :fr.jeremyschoffen.mbt.alpha.versioning/scheme
desc :fr.jeremyschoffen.mbt.alpha.git/description})
Get the current version using a version scheme.
Get the current version using a version scheme.
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. ``
(initial-version {h :fr.jeremyschoffen.mbt.alpha.versioning/scheme
level :fr.jeremyschoffen.mbt.alpha.versioning/bump-level})
Get the initial version for a version scheme.
Get the initial version for a version scheme.
A maven version scheme. The versioning starts at the first versioned commit. Supports the following bumps:
:patch
:minor
:major
:alpha
:beta
:rc
:release
A maven version scheme. The versioning starts at the first versioned commit. Supports the following bumps: - `:patch` - `:minor` - `:major` - `:alpha` - `:beta` - `:rc` - `:release`
A semver version scheme. The versioning starts at the first versioned commit. Supports the following bumps:
:patch
:minor
:major
A semver version scheme. The versioning starts at the first versioned commit. Supports the following bumps: - `:patch` - `:minor` - `:major`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close