Documentation ¶
Index ¶
- type Tag
- func (t *Tag) Condition(source string) (bool, error)
- func (t *Tag) ConditionFromSCM(source string, scm scm.Scm) (bool, error)
- func (t *Tag) Source(workingDir string) (string, error)
- func (t *Tag) Target(source string, dryRun bool) (changed bool, err error)
- func (t *Tag) TargetFromSCM(source string, scm scm.Scm, dryRun bool) (changed bool, files []string, message string, err error)
- func (t *Tag) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct { Path string // Path contains the git repository path VersionFilter version.Filter // VersionFilter provides parameters to specify version pattern and its type like regex, semver, or just latest. Message string // Message associated to the git Tag }
Tag contains git tag information
func (*Tag) ConditionFromSCM ¶
ConditionFromSCM test if a tag exist from a git repository specific from SCM
func (*Tag) Target ¶
Target create a tag if needed from a local git repository, without pushing the tag
Click to show internal directories.
Click to hide internal directories.