Comments (2)
This already exists, but In the configuration the default requires the +semver:none
or +semver:skip
because of the configuration:
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)'
I always tell people to remove the + from the front, and require it to be on a new line, to make the message a valid git trailer:
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)'
But in any case, it does suppress the version increment...
from gitversion.
Hi Joel,
Thank you for your comment. In the previous version of git version it was possible to suppress/overrule the increment by defining bump messages when using the Mainline mode. This behavior has been changed in version 6.0.0 with the new Mainline version strategy. Now all workflows are behaving the same regarding how the bump message are interpreted.
Regards
Hardy
from gitversion.
Related Issues (20)
- [ISSUE]: dotnet publish: '0.0.1-abc_def.1+1' is not a valid version string HOT 4
- [ISSUE]: Mainline in 6.0.0 with default configuration values throws HOT 2
- [ISSUE]: gitversion.msbuild v6.0.1 breaks build HOT 7
- [ISSUE]: Normalizing git directory fails with LibGit2Sharp.CheckoutConflictException HOT 6
- [ISSUE]: Cannot git fetch --unshallow with AzureDevOps HOT 7
- [ISSUE]: GitVersion.MsBuild - GitVersion.MsBuild.targets and GitVersion.MsBuild.props: Error MSB3073 (gitversion.dll not found) in Version 6.0.1 HOT 2
- When workflow is set to empty string, gitversion gives errors for values not provided in config HOT 13
- [ISSUE]: Sha is appended to AssemblyInformationalVersionAttribute when gitversion.json modified before CoreGenerateAssemblyInfo MSBuild task HOT 1
- [ISSUE]: There's no NuGetVersionV2 anymore, and no zero-padded PreReleaseNumber HOT 5
- [ISSUE]: branch regex is matched against {EscapedBranchName} not {BranchName} HOT 1
- [ISSUE]: The version returned is NULL HOT 1
- Support C# format strings in config
- [ISSUE]: dotnet build fails after GitVersion.MsBuild nuget package added to C# project HOT 2
- [ISSUE]: GitVersion tool is slow / stalls HOT 2
- [ISSUE]: Wrong minor version HOT 6
- [ISSUE]: GitHubFlow workflow isn't bumping versions
- [ISSUE]: Azure Devops GitVersion task upgrade internal gitversion.exe to 5.12.0 HOT 3
- CLI: New dotenv output format
- [ISSUE]: Semver on release branch containing prerelease number.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitversion.