package dune-release

  1. Overview
  2. Docs
type t' = t
type t

t represents a project version read from the project changelog.

val of_string : string -> t

of_string s reads the changelog value from a string.

val to_version : keep_v:bool -> t -> t'

to_version ~keep_v v converts the changelog version into the actual project version.

val equal : t -> t -> bool

equal a b is true when a and b are equal.

val pp : t Fmt.t

Pretty print a t.

val to_tag : Vcs.t -> t -> Vcs.Tag.t

to_tag vcs v converts the change log version into a tag for VCS.

OCaml

Innovation. Community. Security.