After configuring the function, submitting the code, and passing the online test, you can fix the version of the function by publishing the version to avoid errors or execution failures of your online business caused by subsequent modification and testing of the code. You can publish a version at any time, and in all releases, the $LATEST
version is always the latest version.
Note:A function has the
$LATEST
version attribute upon its creation. The$LATEST
version points to the currently editable version and is always present and editable.
Note:
- When the release is submitted, the SCF platform will generate a copy of the configuration and code content of the current
$LATEST
version of the function and save it as version content.- After a version is published, the version number of the release will be generated, which starts from 1 and increases progressively with each release. The version number has no upper limit.
- The published version only records and fixes the configuration and code of the current
$LATEST
version of the function but not the trigger configuration of the function. A newly published function version does not have any triggers.
Was this page helpful?