Skip to content

0.4.0

Compare
Choose a tag to compare
@brainelectronics brainelectronics released this 07 Aug 10:35
· 70 commits to main since this release
6e7bdba

Added

  • Property semver_data to access extracted VersionInfo from parsed semver line in ExtractVersion class
  • Header and python version template file
  • RenderVersionFile class to render template files with provided content, resolve #5
  • Examples folder with example C script to demonstrate template rendering on other files than python
  • --template_file argument to specify a custom template file for rendering
  • --additional_template_data to add custom data for the template rendering
  • c is now a valid and supported file type of --version_file_type
  • Documentation extended for new CLI args with more detailed examples
  • Jinja2 is a required package for this package

Changed

  • parser_valid_file function returns a resolved path
  • --version_file_type is no longer case sensitive
  • --version_file does no longer have to exist
  • Run GitHub CI unittest workflow also on pull requests

Removed

  • Functions to update python version files from update_version.py script

Fixed