Skip to content

Commit

Permalink
2963 Adding Gitversion configuration (#2518)
Browse files Browse the repository at this point in the history
* 2963 Adding Gitversion configuration

* 2963 Adding Gitversion configuration, remove comments
  • Loading branch information
dzmitrydd authored and AlekseyManetov committed Sep 30, 2024
1 parent 0c481d3 commit 6b8336b
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:
uses: gittools/actions/gitversion/[email protected]
with:
additionalArguments: ${{ inputs.git-version-mode }}
useConfigFile: true
configFilePath: GitVersion.yml

- name: Install Helm
uses: azure/setup-helm@v3
Expand Down
47 changes: 47 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# see https://gitversion.net/docs/reference/configuration#branch-configuration
assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDeployment
next-version: 5.10.0
increment: Patch
branches:
master:
regex: ^main$
mode: ContinuousDelivery
tag: ''
increment: Minor
prevent-increment-of-merged-branch-version: false
track-merge-target: true
is-release-branch: true
develop:
regex: ^develop$
mode: ContinuousDeployment
tag: 'dev'
increment: Patch
prevent-increment-of-merged-branch-version: false
track-merge-target: true
tracks-release-branches: true
is-release-branch: false
qa:
regex: ^feature.*
mode: ContinuousDeployment
tag: 'qa'
increment: Patch
source-branches: [ 'develop', 'main' ]
prevent-increment-of-merged-branch-version: false
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
others:
regex: ^fix.*|^bug.*
mode: ContinuousDeployment
tag: 'fe'
increment: Inherit
prevent-increment-of-merged-branch-version: false
track-merge-target: false
source-branches: [ 'develop', 'main' ]
tracks-release-branches: false
is-release-branch: false
is-mainline: false
ignore:
commits-before: 2024-08-01T00:30:00
merge-message-formats: {}

0 comments on commit 6b8336b

Please sign in to comment.