(version-fn package)A version-fn for k16.kmono.version/inc-package-versions which produces
a version-type of [:patch, :minor, :major, nil] according to the convensions
of conventional-commits.
fix: in the title would produce a version-type of
:patch.feat: in the title would produce a version-type of
:minor.fix!: would produce a version-type of
:major.And finally if the commit message body contained the text BREAKING CHANGE:
then this would also result in a version-type of :major.
A `version-fn` for [[k16.kmono.version/inc-package-versions]] which produces a version-type of `[:patch, :minor, :major, nil]` according to the convensions of conventional-commits. - A commit message with `fix:` in the title would produce a version-type of `:patch`. - A commit message with `feat:` in the title would produce a version-type of `:minor`. - The presence of a bang (!) such as `fix!:` would produce a version-type of `:major`. And finally if the commit message body contained the text `BREAKING CHANGE:` then this would also result in a version-type of `:major`.
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 |