Building blocks to versioning systems following the maven or semver model.
Building blocks to versioning systems following the maven or semver model.
Initial value to use when starting the versioning process from scratch.
Initial value to use when starting the versioning process from scratch.
Initial value to use when starting the versioning process from scratch.
Initial value to use when starting the versioning process from scratch.
(maven-version x)
Make a representation of a version in the maven style.
Make a representation of a version in the maven style.
(safer-bump v level)
Bump a version according to a level :major, :minor, or :patch in the general case and :alpha, :beta, :rc and :release in the maven case.
Using commit distances this function can throw exceptions when the bump would just make another version of the same artefact or would in effect progress backward.
Example:
Bump a version according to a level :major, :minor, or :patch in the general case and :alpha, :beta, :rc and :release in the maven case. Using commit distances this function can throw exceptions when the bump would just make another version of the same artefact or would in effect progress backward. Example: - with commit distance 0, bumping from 0.0.1 to 0.0.2 would crete 2 version of the same artefact. - bumping from 0.1.0-beta to 0.1.0-alpha would be going backward.
(semver-version x)
Make a representation of a version in the semver style.
Make a representation of a version in the semver style.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close