You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a CD pipeline for pull requests that will run tests and deploy to a staging environment, upon completion we merge to the main branch for deployment to production environments.
We recently upgraded from GitVersion v5 to v6 and we used to use the Mainline mode.
Is there a way to correctly determine the version whilst taking into account the PR title?
e.g., a PR of feat!: add something new is a breaking change so should increment the semver major version.
This isn't exclusive to major versions either, it seems to just not increment the version at all. I'm assuming this is caused by commit-message-incrementing: MergeMessageOnly. We have this set because of the squash merges we perform, if we didn't have it set the versions would be completely incorrect.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We have a CD pipeline for pull requests that will run tests and deploy to a staging environment, upon completion we merge to the main branch for deployment to production environments.
We recently upgraded from GitVersion v5 to v6 and we used to use the Mainline mode.
Is there a way to correctly determine the version whilst taking into account the PR title?
e.g., a PR of
feat!: add something newis a breaking change so should increment the semver major version.This isn't exclusive to major versions either, it seems to just not increment the version at all. I'm assuming this is caused by
commit-message-incrementing: MergeMessageOnly. We have this set because of the squash merges we perform, if we didn't have it set the versions would be completely incorrect.This is the config we use right now:
Beta Was this translation helpful? Give feedback.
All reactions