Native Version File Scripting Prepare API
To ensure all version files in the repository is consistent with Monteur's app metadata, Monteur provides a recipe to script the version file so that user only change version number at one location will do. This recipe allows Monteur to script version file in a highly customizable manner easily and seamlessly.
The objective of distributing the recipe is simple: to script version file so that they are aligned to Monteur’s app metadata’s Version field, allowing user to only update Version via Monteur’s app metadata painlessly, in a consistent manner with minimal to no further instructions.
All recipes are arranged based on its own semantic versioning and is not directly related to Monteur’s actual release version. Hence, feel free to explore each versions to suit your CI needs.
Here are the available Prepare API recipe for natively version file scripting. Please read through your selected version’s details on what has changed, what is required, and how to customize and used them.
The arrangement are the latest at the top or first.
version file scripting Prepare API is available for download
|Supported Platforms||native to Monteur|
- You should download and place the recipe into your
<config>/prepare/jobs/directory with the name
XXXis something you can differentiate if you have many files. Otherwise,
- Once done, edit the configuration file for:
CodeFilepath- the filepath of the version file.
For detailed information about each fields, visit: Prepare Specification Data Structure for more info.
- Backward Compatible - Created the base TOML configuration recipe.
- Backward Compatible - Integrated with GitLab CI.
That’s all for Monteur operating directory version file scripting with its native functions. If you found a bug or have any questions about the recipe, please feel free to raise your question at our Issue Section.