Liking cljdoc? Tell your friends :D

hive-build.promote.version

Semantic versions as values: parse, render, order, bump. Pure.

Semantic versions as values: parse, render, order, bump. Pure.
raw docstring

bumpclj

(bump semver level)

semver advanced at level.

Components below level reset to zero, which is what makes the result strictly greater than its input under compare-versions.

`semver` advanced at `level`.

Components below `level` reset to zero, which is what makes the result
strictly greater than its input under `compare-versions`.
sourceraw docstring

compare-versionsclj

(compare-versions a b)

-1, 0 or 1 by major, then minor, then patch.

-1, 0 or 1 by major, then minor, then patch.
sourceraw docstring

next-versionclj

(next-version text level)

text bumped at level, as a string.

Throws when text is not a semantic version: a release must never guess at its own coordinate.

`text` bumped at `level`, as a string.

Throws when `text` is not a semantic version: a release must never guess at
its own coordinate.
sourceraw docstring

parseclj

(parse text)

text as a SemVer, or nil when it is not MAJOR.MINOR.PATCH.

`text` as a SemVer, or nil when it is not MAJOR.MINOR.PATCH.
sourceraw docstring

renderclj

(render {:semver/keys [major minor patch]})

semver as MAJOR.MINOR.PATCH.

`semver` as MAJOR.MINOR.PATCH.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close