(assert-clean? version)
Throws if the repo is not clean.
Throws if the repo is not clean.
(count-since-last-tag)
(count-since-last-tag match-pattern)
Returns the numeric cound of commits since the last tag. Some projects use that as a way to version.
It can also receive an optional git match pattern to be passed to git when looking for the tag.
If a tag is not found, an exception is thrown.
Returns the numeric cound of commits since the last tag. Some projects use that as a way to version. It can also receive an optional git match pattern to be passed to git when looking for the tag. If a tag is not found, an exception is thrown.
(last-tag)
(last-tag match-pattern)
Returns the last tag from your repo. Many projects use tags to represent versions.
It can also receive an optional git match pattern to be passed to git when looking for the tag.
If a tag is not found, an exception is thrown.
Returns the last tag from your repo. Many projects use tags to represent versions. It can also receive an optional git match pattern to be passed to git when looking for the tag. If a tag is not found, an exception is thrown.
(push-tag version)
(push-tag version remote)
Pushes whatever has been tagged or added to origin
by default
unless another remote has been specified.
Pushes whatever has been tagged or added to `origin` by default unless another remote has been specified.
(sha)
(sha length)
Returns the current commit sha. By default it will return just the 7 first characters. You can specify more if you need to.
Returns the current commit sha. By default it will return just the 7 first characters. You can specify more if you need to.
(tag version)
Creates a local tag with the incoming version.
Creates a local tag with the incoming version.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close