ladybug_rhino.versioning.release module

Functions specific to stable releases like changing component versions.

ladybug_rhino.versioning.release.update_component_version(components, version, year=None)[source]

Update the version number and copyright year for a list of components.

Parameters:
  • components – A list of Grasshopper component objects which will have their version updated. Typically, this should be the output of the place_plugin_components method from ladybug_rhino.versioning.gather.

  • version – Text for the version of the components to update.

  • year – Text for the copyright year to update.

Returns:

A list of Ladybug Tools component objects that have had their version and copyright year updated.