Target

Target defines the 'where' your want to update

Description

The "target" stage update if necessary "resource" like a file based on information retrieved from source as long as every condition checks succeeded.

Parameters

NameTypeDescriptionRequired
dependsonarraydependson specifies which resources must be executed before the current one
disablesourceinputboolean
kind
namestringname specifies the resource name
reportbodystring
reporttitlestring
scmidstringscmid specifies the scm configuration key associated to the current resource
sourceidstring
specobjectSpec contains the updatecli configuration provided by users.
transformersarraytransformers defines how the default input value need to be transformed
    addprefixstringAddPrefix adds a prefix to the transformer input value
    addsuffixstringAddSuffix adds a suffix to the transformer input value
    findstringFind searches for a specific value if it exists and return false if it doesn't
    findsubmatchobjectFind searches for a specific value if it exists then return the value using regular expression
    replacerobjectReplacer specifies what value needs to be changed and how
    replacersarrayReplacers specifies a list of replacer instruction
    semverincstringSemvVerInc specifies a comma separated list semantic versioning component that needs to be upgraded.
    trimprefixstringTrimPrefix removes a prefix to the transformer input value
    trimsuffixstringTrimSuffix removes the suffix from the transformer input value

Examples

Top