Developer guide
October 27, 2024 ยท View on GitHub
Add a missing data
- Compose your missing data based of git log pretty formats,
- Choose a environment variable name linked to this missing data using the prefix
GIT_COMMIT_, - Update the
entrypoint.shto generate the environment variable content,- Adding template format using naming convention
TEMPLATE_COMMIT_prefix and_FORMATsuffix, - Use
git_log_formatmethod to generate the content of your new environment variable.
- Adding template format using naming convention
- Update the
tests/git_log_format.batsto validate your new environment variable generation, - Run
npm testto validate your new tests, - Update the
README.mdfile to document your new environment variable, - Create a new Pull-request to be reviewed.