Liking cljdoc? Tell your friends :D

orzo.git


assert-clean?clj

(assert-clean? version)

Throws if the repo is not clean.

Throws if the repo is not clean.
sourceraw docstring

count-since-last-tagclj

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

last-tagclj

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

push-tagclj

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

shaclj

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

tagclj

(tag version)

Creates a local tag with the incoming version.

Creates a local tag with the incoming version.
sourceraw docstring

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

× close