deli v0.2.0-rc.6 Deli.Versioning behaviour View Source

Defines a behaviour for versioning

Link to this section Summary

Callbacks

Receives the version informed by user on CLI, or nil. Runs any versioning policy wanted for the project, returns an ok tuple with the version tag to be used during deploy, or raises in case there is no version tag resolved.

Link to this section Types

Link to this section Callbacks

Link to this callback

version_tag(version) View Source
version_tag(version :: String.t() | nil) :: {:ok, tag()}

Receives the version informed by user on CLI, or nil. Runs any versioning policy wanted for the project, returns an ok tuple with the version tag to be used during deploy, or raises in case there is no version tag resolved.