Skip to content

[CNSL-1964] Add release-version-extract action#7

Open
linhcrl wants to merge 1 commit intomainfrom
release-version-extract
Open

[CNSL-1964] Add release-version-extract action#7
linhcrl wants to merge 1 commit intomainfrom
release-version-extract

Conversation

@linhcrl
Copy link

@linhcrl linhcrl commented Mar 18, 2026

This action automates semantic version determination by analyzing CHANGELOG.md entries following the Keep a Changelog standard. It extracts the current version, analyzes unreleased changes, and calculates the next version according to semantic versioning rules.

The action determines the appropriate version bump by examining changelog section headers and content:

  • Major bump: Breaking changes detected (entries prefixed with "- Breaking Change:")
  • Minor bump: New features or changes (### Added, ### Changed, ### Deprecated sections)
  • Patch bump: Bug fixes or security updates (### Fixed, ### Security sections)
  • Initial release: First version defaults to 0.1.0

This action automates semantic version determination by analyzing
CHANGELOG.md entries following the Keep a Changelog standard. It
extracts the current version, analyzes unreleased changes, and
calculates the next version according to semantic versioning rules.

The action determines the appropriate version bump by examining
changelog section headers and content:
- Major bump: Breaking changes detected (entries prefixed with "-
  Breaking Change:")
- Minor bump: New features or changes (### Added, ### Changed, ###
  Deprecated sections)
- Patch bump: Bug fixes or security updates (### Fixed, ### Security
  sections)
- Initial release: First version defaults to 0.1.0
@linhcrl linhcrl requested a review from fantapop March 18, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant