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 type
tag()
View Source
tag()
View Source
tag() :: String.t()
tag() :: String.t()
Link to this section Callbacks
Link to this callback
version_tag(version) View Source
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.