Skip to content

Latest commit

 

History

History
152 lines (96 loc) · 4.75 KB

File metadata and controls

152 lines (96 loc) · 4.75 KB

Table of contents


(check-git!)

checks the current directory is a git repo. Throws if not

(git-data)

extracts git data (for tags and versions currently)

(git-latest-tag)

gets the most recent git tag

(git-remote-name)

gets the remote name for deps.edn coords

(git-remote-origin)

(git-repo?)

checks if .git exists

(git-tag-data)

(git-tag-messages)

extracts a map of the form: {tagname {:tag-message "first line of tag message here" tagname2 ...}

(git-tags)

extracts a map of the form: {tagname {:commit-sha "full sha here" :commit-sha-abbrev "abbreviated sha here"} tagname2 ...}

(parse-git-messages s)

(parse-git-tags s)

(remove-tag-prefix tag)

removes refs/tag/ from tagnames

(shell-git command)

Checks in a git repo, executes command and return the result