Skip to content

Commit d00f942

Browse files
authored
Fix/gitversion config (#78)
* fix: gitversion config * fix: some minor extensions to giversion config * chore: switched back to fullSemVer
1 parent 488ff84 commit d00f942

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/step-dotnet-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
required: false
1919
outputs:
2020
solution-version:
21-
description: 'The MajorMinorPatch version'
21+
description: 'The repository version, based on git history'
2222
value: ${{ jobs.detect-version.outputs.version }}
2323

2424
jobs:
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ${{ inputs.runs-on || 'ubuntu-latest' }}
2828

2929
outputs:
30-
version: ${{ steps.gitversion.outputs.majorMinorPatch }}
30+
version: ${{ steps.gitversion.outputs.fullSemVer }}
3131

3232
steps:
3333
- name: Checkout repository

GitVersion.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mode: ManualDeployment
2-
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
3-
minor-version-bump-message: "^(feat)(\\([\\w\\s-]*\\))?:"
4-
patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?:"
2+
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-,/\\\\]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
3+
minor-version-bump-message: "^(feat)(\\([\\w\\s-,/\\\\]*\\))?:"
4+
patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\([\\w\\s-,/\\\\]*\\))?:"

0 commit comments

Comments
 (0)