Skip to content

@ui5/builder/tasks/replaceVersion

Methods

(static) default(parameters) → {Promise<undefined>}

Description: Task to replace the version ${version}.

Source: builder/lib/tasks/replaceVersion.js, line 8

Parameters:
NameTypeDescription
parametersobjectParameters
Properties:
NameTypeDescription
workspace@ui5/fs/DuplexCollectionDuplexCollection to read and write files
optionsobjectOptions
Properties
NameTypeDescription
patternstringPattern to locate the files to be processed
versionstringReplacement version
Returns:

Promise resolving with undefined once data has been written

Type: Promise<undefined>