Skip to content

Commit af0cc21

Browse files
committed
disable gitversion on release workflow +semver:none
1 parent 12c583f commit af0cc21

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,9 @@ jobs:
2020
uses: actions/setup-dotnet@v4
2121
with:
2222
dotnet-version: 7.0.x
23-
- name: Setup GitVersion
24-
uses: gittools/actions/gitversion/[email protected]
25-
with:
26-
versionSpec: '5.12.0'
2723
- name: Determine Version
2824
id: version_step
29-
uses: gittools/actions/gitversion/[email protected]
30-
with:
31-
useConfigFile: true
25+
run: echo "majorMinorPatch=$( git describe --tags --abbrev=0 )" >> $GITHUB_OUTPUT
3226
- name: Setup GitReleaseManager
3327
uses: gittools/actions/gitreleasemanager/[email protected]
3428
with:

GitVersion.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
mode: Mainline
2-
branches:
3-
release:
4-
tag: ''
5-
regex: ^release$
6-
increment: None
72
ignore:
83
sha: []
94
merge-message-formats: {}

0 commit comments

Comments
 (0)