Api containing the default logic for using git state as a versioning mechanism.
Api containing the default logic for using git state as a versioning mechanism.
(check-not-dirty param)Check wheter the git repo is dirty or not. Throws if it is.
Check wheter the git repo is dirty or not. Throws if it is.
(check-repo-in-order ctxt)Concentrate several checks in one function. Namely:
Concentrate several checks in one function. Namely: - [[fr.jeremyschoffen.mbt.alpha.default.versioning.git-state/check-some-commit]] - [[fr.jeremyschoffen.mbt.alpha.default.versioning.git-state/check-not-dirty]]
(check-some-commit param)Check whether the repo has any commit or not. Throws an exception if not.
Check whether the repo has any commit or not. Throws an exception if not.
(current-version param)Get the current version using the provided version scheme.
Get the current version using the provided version scheme.
(get-tag param)Recover a git tag based on a version and a tag base name.
Recover a git tag based on a version and a tag base name.
(most-recent-description
{repo :fr.jeremyschoffen.mbt.alpha.git/repo
tag-base :fr.jeremyschoffen.mbt.alpha.versioning/tag-base-name
:as param})Get the most recent description for the tags named with the base :versioning/tag-base-name.
Get the most recent description for the tags named with the base `:versioning/tag-base-name`.
(new-tag param)Make the next tag/milestone.
Make the next tag/milestone.
(next-version param)Get the next version using the provided version scheme.
Get the next version using the provided version scheme.
(tag! param)Create a new git tag provided fr.jeremyschoffen.mbt.alpha.default.versioning.git-state/check-repo-in-order
passes.
Create a new git tag provided [[fr.jeremyschoffen.mbt.alpha.default.versioning.git-state/check-repo-in-order]] passes.
(tag-name {base :fr.jeremyschoffen.mbt.alpha.versioning/tag-base-name
v :fr.jeremyschoffen.mbt.alpha.versioning/version})(tag-new-version! param)Create a new tag in git marking a new milestone in the project.
Create a new tag in git marking a new milestone in the project.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |