-
Hi there, assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDeployment
tag-prefix: '[vV]'
continuous-delivery-fallback-tag:
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
legacy-semver-padding: 5
build-metadata-padding: 5
commit-message-incrementing: Enabled
branches:
develop:
mode: ContinuousDeployment
tag: unstable
increment: Minor
prevent-increment-of-merged-branch-version: true
track-merge-target: false
stable:
source-branches: ['develop']
regex: stable
mode: ContinuousDeployment
tag: release
increment: Patch
prevent-increment-of-merged-branch-version: false
track-merge-target: false Again, my goal is for the unstable/develop branch to be one minor version ahead of the stable/release branch. Any help to fix this would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I am looking for the same solution - develop to only bump patch version (1.0.1-beta -> 1.0.2-beta) and release would bump the minor after merging the latest develop into it (1.0.0 -> 1.1.0). Then the counter of develop branch would be reset to 1.1.0-beta. I looked at the document and seems like the @geenafong did you find a resolution? |
Beta Was this translation helpful? Give feedback.
-
What you describe sounds like the default behaviour for main:
regex: ^master$|^main$
mode: ContinuousDelivery
tag: ''
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
tracks-release-branches: false
is-release-branch: false Have you tried just replacing |
Beta Was this translation helpful? Give feedback.
What you describe sounds like the default behaviour for
main
, which by default is configured as such:Have you tried just replacing
regex
andtag
in this configuration with your branch names? Also, is there a good reason not to usemain
as your stable branch?