Skip to content

Releases: PaulHatch/semantic-version

v6.0.2

Choose a tag to compare

@PaulHatch PaulHatch released this 17 Mar 10:58
9f72830

What's Changed

New Contributors

Full Changelog: v6.0.1...v6.0.2

v6.0.1

Choose a tag to compare

@PaulHatch PaulHatch released this 25 Jan 00:48

What's Changed

  • feat: change minor pattern to support optional conventional commit scopes by @BodrickLight in #188
  • CLI alias updates, now run with semver or sv

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

Choose a tag to compare

@PaulHatch PaulHatch released this 19 Jan 15:41

What's Changed

  • Change default version patterns to follow Conventional Commits
  • Add CLI
  • Add ignore_commits_pattern and allow disabling major/minor pattern

Full Changelog: v5.4.0...v6.0.0

v5.4.0

Choose a tag to compare

@PaulHatch PaulHatch released this 31 Jan 12:59
  • Updates to Node Version #133
  • Update dependencies

v5.3.0

Choose a tag to compare

@PaulHatch PaulHatch released this 30 Sep 13:53

This version finally introduces a new branch-based versioning mode, version_from_branch, to support on-going releases. If enabled, the major and optionally minor version will always be taken from the branch, and only tags which match will be considered candidates. By default, any branch name format is allowed and will be used as the version so long as it ends with a major or major.minor version, e.g. release/v1 or release/1.2 or v1. This is an advanced feature and should really only be needed if you maintaining ongoing updates for previous versions. Additional documentation and an expanded user guide coming soon. With this release use_branches is deprecated and will be removed in v6.

Additionally, this release fixes a bug where prerelease mode was not working when bump each commit was enabled.

v5.2.1

Choose a tag to compare

@PaulHatch PaulHatch released this 25 Aug 00:40

Fix for diagnostic mode, build output was not included in action output.

v5.2.0

Choose a tag to compare

@PaulHatch PaulHatch released this 21 Aug 02:52

This release adds a "debug" mode to allow collection and replay of operations to aid troubleshooting when the source repository is unavailable.

v5.1.0

Choose a tag to compare

@PaulHatch PaulHatch released this 12 Aug 14:55

New Features

  • (#69) Added a patch pattern for "bump each commit". If bump_each_commit_patch_pattern is set AND bump each commit mode is enabled, the patch version will only increment if the commit matches the specified patch pattern. Note that regex is supported using the JavaScript-like /pattern/ syntax. Flags are also supported using /pattern/I but there is no dedicated "flags" input. (This is the preferred method and the existing flags inputs for major and minor may be deprecated in a future release.)
  • (#88) Added "prerelease mode" for repos which are still on 0.x.x version. If enabled this will treat "major" changes as "minor", preventing the 1.0.0 version from being automatically set. (It must be set manually) This is intended to help manage versioning for projects with a long pre-release timeline so that developers don't need to worry about the overall state of the project and can still indicate whether a particular commit is breaking or not.
  • (#94) An output, is_tagged, indicates whether this commit was itself directly tagged. (Thanks @Kantis)
  • (#92) Added outputs to provide information about the commit of the previous version.

Full Changelog: v5.0.3...v5.1.0

Fix for Prerelease Tagged Commits

Choose a tag to compare

@PaulHatch PaulHatch released this 10 Jan 23:25
61243c9

Previously pre-release tags were detected as the "current tag", as the previously added tag validation was only apply to the tags from previous commits. This update adds this validation to the current commit.

Fix build output

Choose a tag to compare

@PaulHatch PaulHatch released this 31 Dec 13:10
  • Fix for previous version not outputting current_commit