GitVersion icon indicating copy to clipboard operation
GitVersion copied to clipboard

bump-message not working

Open HotdogWang opened this issue 8 years ago • 2 comments

Hi, I'm not sure this is an issue or question?

Here is my gitversion.yml setting.

mode: ContinuousDeployment
next-version: 0.0.0
tag-prefix: '[vV]'
continuous-delivery-fallback-tag: ''
# increment: Inherit//Minor, Inherit
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
no-bump-message: '\+semver:\s?(none|skip)'
legacy-semver-padding: 3
build-metadata-padding: 3
commits-since-version-source-padding: 3
commit-message-incrementing: Enabled

Then I print the version before commit.

========================================
Versioning
========================================
MajorMinorPatch version: 0.2.0
SemVersion version: 0.2.0-usingCake.22
InformationalVersion version: 0.2.0-usingCake.22+Branch.usingCake.Sha.5c16b21ab13bb8402e59fe7005ae8d7970bc4d7c
NugetVersion version: 0.2.0-usingcake022
Build version: Branch.usingCake.Sha.5c16b21ab13bb8402e59fe7005ae8d7970bc4d7c

Commit message with +semver: skip, but the version still increment

========================================
Versioning
========================================
MajorMinorPatch version: 0.2.0
SemVersion version: 0.2.0-usingCake.23
InformationalVersion version: 0.2.0-usingCake.23+Branch.usingCake.Sha.2da1ca16149ad1619385ae43cabe08e487f0cea7
NugetVersion version: 0.2.0-usingcake023
Build version: Branch.usingCake.Sha.2da1ca16149ad1619385ae43cabe08e487f0cea7

Is this my setting issue or?

HotdogWang avatar Nov 12 '18 03:11 HotdogWang

Based on my understanding everything is working as intended, bump-message controls semver major minor patch. The increment shown is confined to the metadata.

JCBrown avatar Nov 25 '18 10:11 JCBrown

This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 29 '19 07:06 stale[bot]