Using gittool in azure devops #3992
-
Let me explain complete scenario and attaching log. I am not getting expected result, I feel either I am doing something fundamentally wrong or trying some scenario which you never tested. In short I want to ignore all previous merge and start fresh after this date so it can start as above mode: Mainline
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)'
branches:
release:
regex: ^releases?[/-]
tag: ''
feature:
regex: ^feature?[/-]
tag: '' I appreciate if someone can point the issue or thing I am doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Overall my feedback is this works fine if I use in fresh new branch. But if I am trying to use it in existing project where previous releases happened then this tool create mess and do not calculate correct version. I have something like this in history name of branch release/hawkeye-release-03082024 , is there any way that in config I can set something to ignore such pattern . So it will calculate correct. INFO [04/10/24 17:57:39:92] End: Finding branch source of 'release/hawkeye-release-03082024' (Took: 34.18ms) |
Beta Was this translation helpful? Give feedback.
-
It work with this change mode: Mainline
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)'
commit-message-incrementing: Enabled
ignore:
commits-before: 2024-03-09T06:02:00
branches:
main:
regex: ^vertest$ # Matches your developement branch
tag: '' # No tag associated with the feature branch
source-branches: [] |
Beta Was this translation helpful? Give feedback.
It work with this change