@ui5/builder/tasks/replaceVersion

Methods

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

Description:
  • Task to replace the version ${version}.
Source:
Parameters:
Name Type Description
parameters object Parameters
Properties
Name Type Description
workspace @ui5/fs/DuplexCollection DuplexCollection to read and write files
options object Options
Properties
Name Type Description
pattern string Pattern to locate the files to be processed
version string Replacement version
Returns:
Promise resolving with undefined once data has been written
Type
Promise.<undefined>