Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.default.versioning.schemes

Api used when versioning the project using git state.

Api used when versioning the project using git state.
      
raw docstring

bumpclj

(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.
sourceraw docstring

current-versionclj

(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.
sourceraw docstring

git-distance-schemeclj

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:

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.
``
sourceraw docstring

initial-versionclj

(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.
sourceraw docstring

maven-schemeclj

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`
sourceraw docstring

semver-schemeclj

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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close