classVersionManagement
Version Management
Extends from Modelica.Icons.ReleaseNotes.
Information
Version management
The ThermofluidStream library uses semantic versioning following the convention:
MAJOR.MINOR.PATCH
- MAJOR versions may contain incompatible changes that require users to adapt existing models.
- MINOR versions may add new models, packages, parameters or functionality in a generally backward compatible way.
- PATCH versions contain bug fixes, documentation updates and small maintenance changes.
For each release, the version information in the top-level package annotation
should be updated, especially version, versionDate,
dateModified and, if used, revisionId.
annotation(version = "1.4.0",
versionDate = "YYYY-MM-DD",
dateModified = "YYYY-MM-DD",
revisionId = "$Format:%h %ci$")
The revisionId field is intended to identify the exact commit that
the released version represents when the library is exported from a Git tag.
Recommended release procedure
- Update the release notes.
- Update the top-level package annotation to the new version.
- Update tool-specific metadata, for example Dymola or Modelon Impact metadata, if present.
- Run the regression tests and tool checks.
- Create and push the Git tag, for example
v1.4.0. - Create the GitHub release from the tag.