diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 8e24bd8..b25266c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -26,7 +26,7 @@ jobs: - name: Install GitVersion uses: gittools/actions/gitversion/setup@v3.0.2 with: - versionSpec: '6.x' + versionSpec: '6.0.5' - name: Determine Version id: gitversion diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 2728f9f..f31fb87 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -25,7 +25,7 @@ jobs: - name: Install GitVersion uses: gittools/actions/gitversion/setup@v3.0.2 with: - versionSpec: '6.x' + versionSpec: '6.0.5' - name: Determine Version id: gitversion diff --git a/GitVersion.yml b/GitVersion.yml index b38944b..f9d9ea4 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,5 @@ mode: ContinuousDeployment -next-version: 5.1.4 +next-version: 6.0.5 branches: develop: regex: develop @@ -8,6 +8,12 @@ branches: prevent-increment: when-current-commit-tagged: true source-branches: [] + hotfix: + regex: hotfix[/-] + source-branches: [develop] + prevent-increment: + when-current-commit-tagged: true + is-release-branch: true pull-request: regex: (pull|pull\-requests|pr)[/-] label: 'pr'