Skip to content

Releases: PaulHatch/semantic-version

v5.4.0

31 Jan 12:59
Compare
Choose a tag to compare
  • Updates to Node Version #133
  • Update dependencies

v5.3.0

30 Sep 13:53
Compare
Choose a tag to compare

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

25 Aug 00:40
Compare
Choose a tag to compare

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

v5.2.0

21 Aug 02:52
Compare
Choose a tag to compare

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

12 Aug 14:55
Compare
Choose a tag to compare

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

10 Jan 23:25
61243c9
Compare
Choose a tag to compare

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

31 Dec 13:10
Compare
Choose a tag to compare
  • Fix for previous version not outputting current_commit

v5.0.1

28 Dec 03:38
Compare
Choose a tag to compare

Fixes for regular expression filters, thanks to @belcher-rok for finding this.

Version 5 GA Release

22 Dec 04:39
Compare
Choose a tag to compare

Version 5.0.0 is now available! Thank you to everyone who contributed to this release.

For more information, please refer to release notes for version 5.0.0 pre-releases.

Beta release 2

18 Dec 02:05
Compare
Choose a tag to compare
Pre-release

Fixes:

  • Running action on a tagged commits produces correct value for previous_commit instead of 0.0.0.
  • Prerelease tags are ignored when finding the last release tag