You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched issues to ensure it has not already been reported
GitVersion package
GitHub Actions
What are you seeing?
The Config file is not working / begin ignored in gitversion version 6.2.0
Run gittools/actions/gitversion/[email protected]
with:
useConfigFile: true
targetPath: ./app
configFilePath: /home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml
updateProjectFiles: true
disableCache: false
disableNormalization: false
disableShallowCloneCheck: false
updateAssemblyInfo: false
env:
UNIT_TEST_PROJECT_PATH: src/placeholder.Api.Unittest/placeholder.Api.Unittest.csproj
DOTNET_ROOT: /usr/share/dotnet
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
GITVERSION_PATH: /opt/hostedtoolcache/GitVersion.Tool/6.[2](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:2).0
Running on: 'GitHub Actions'
Disable Telemetry
Command: git -C /home/runner/work/placeholder-api/placeholder-api/app rev-parse --is-shallow-repository
Command: /opt/hostedtoolcache/GitVersion.Tool/6.2.0/dotnet-gitversion --roll-forward Major /home/runner/work/placeholder-api/placeholder-api/app /output json /l console /config /home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml /updateprojectfiles
dotnet-gitversion Output:
-------------------
INFO [25-04-14 12:57:18:75] Working directory: /home/runner/work/placeholder-api/placeholder-api/app
INFO [25-04-14 12:57:18:77] Project root is: /home/runner/work/placeholder-api/placeholder-api/app/
INFO [25-04-14 12:57:18:77] DotGit directory is: /home/runner/work/placeholder-api/placeholder-api/app/.git
INFO [25-04-14 12:57:18:77] Branch from build environment: refs/heads/feature/hello-world
INFO [25-04-14 12:57:18:77] -< Begin: Normalizing git directory for branch 'refs/heads/feature/hello-world' >-
INFO [25-04-14 12:57:18:80] One remote found (origin -> 'https://github.com/placeholder/placeholder-api').
INFO [25-04-14 12:57:18:81] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
INFO [25-04-14 12:57:18:81] Updating local branch feature/hello-world to point at 8252507
INFO [25-04-14 12:57:18:84] Creating local branch from remote tracking 'refs/remotes/origin/develop'.
INFO [25-04-14 12:57:18:86] Creating local branch from remote tracking 'refs/remotes/origin/main'.
INFO [25-04-14 12:57:18:86] HEAD points at branch 'refs/heads/feature/hello-world'.
INFO [25-04-14 12:57:18:87] -< End: Normalizing git directory for branch 'refs/heads/feature/hello-world' (Took: 89.18ms) >-
INFO [25-04-14 12:57:18:87] -< Begin: Loading version variables from disk cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/C74956A20DD[3](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:3)96A0186C20CAAD3B64DAD3F7[4](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:4)E56 >-
INFO [25-04-14 12:[5](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:5)7:18:87] Cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/C7495[6](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:6)A20DD396A0186C20CAAD3B64DAD3F[7](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:7)4E56 not found.
INFO [25-04-14 12:57:1[8](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:8):87] -< End: Loading version variables from disk cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/C74[9](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:9)56A20DD396A0186C20CAAD3B64DAD3F74E56 (Took: 0.07ms) >-
INFO [25-04-14 12:57:18:89] Using latest commit on specified branch
INFO [25-04-14 12:57:18:90] Getting tagged semantic versions. TagPrefix: [vV]? and Format: Strict
INFO [25-04-14 12:57:18:91] Running against branch: feature/hello-world ('8252507' - Gitversion)
INFO [25-04-14 12:57:18:93] -< Begin: Fetching the base versions for version calculation... >-
INFO [25-04-14 12:57:18:93] -< Begin: Finding branches source of 'feature/hello-world' >-
INFO [25-04-14 12:57:18:93] -< Begin: Finding merge base between 'feature/hello-world' and 'develop'. >-
INFO [25-04-14 12:57:18:94] Found merge base of ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 12:57:18:94] Merge base of 'feature/hello-world' and 'develop' is ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 12:57:18:94] -< End: Finding merge base between 'feature/hello-world' and 'develop'. (Took: 6.92ms) >-
INFO [25-04-14 12:57:18:94] -< Begin: Finding merge base between 'feature/hello-world' and 'main'. >-
INFO [25-04-14 12:57:18:94] Found merge base of ''0de56ca' - Initial commit'
INFO [25-04-14 12:57:18:94] Merge base of 'feature/hello-world' and 'main' is ''0de56ca' - Initial commit'
INFO [25-04-14 12:57:18:94] -< End: Finding merge base between 'feature/hello-world' and 'main'. (Took: 0.41ms) >-
INFO [25-04-14 12:57:18:94] -< Begin: Finding merge base between 'feature/hello-world' and 'origin/develop'. >-
INFO [25-04-14 12:57:18:94] Found merge base of ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 12:57:18:94] Merge base of 'feature/hello-world' and 'origin/develop' is ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 12:57:18:94] -< End: Finding merge base between 'feature/hello-world' and 'origin/develop'. (Took: 0.36ms) >-
INFO [25-04-14 12:57:18:95] -< Begin: Finding merge base between 'feature/hello-world' and 'origin/main'. >-
INFO [25-04-14 12:57:18:95] Found merge base of ''0de56ca' - Initial commit'
INFO [25-04-14 12:57:18:95] Merge base of 'feature/hello-world' and 'origin/main' is ''0de56ca' - Initial commit'
INFO [25-04-14 12:57:18:95] -< End: Finding merge base between 'feature/hello-world' and 'origin/main'. (Took: 0.33ms) >-
INFO [25-04-14 12:57:18:95] -< End: Finding branches source of 'feature/hello-world' (Took: 19.33ms) >-
INFO [25-04-14 12:57:18:96] -< Begin: Calculating base versions for 'develop' >-
INFO [25-04-14 12:57:18:96] -< Begin: [Using 'ConfiguredNextVersionVersionStrategy' strategy] >-
INFO [25-04-14 12:57:18:96] -< End: [Using 'ConfiguredNextVersionVersionStrategy' strategy] (Took: 0.48ms) >-
INFO [25-04-14 12:57:18:96] -< Begin: [Using 'MainlineVersionStrategy' strategy] >-
INFO [25-04-14 12:57:18:96] -< End: [Using 'MainlineVersionStrategy' strategy] (Took: 0.52ms) >-
INFO [25-04-14 12:57:18:96] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
INFO [25-04-14 12:57:18:99] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 26.89ms) >-
INFO [25-04-14 12:57:18:99] -< Begin: [Using 'TaggedCommitVersionStrategy' strategy] >-
INFO [25-04-14 12:57:18:99] -< Begin: Getting tagged semantic versions on branch 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 12:57:18:99] -< End: Getting tagged semantic versions on branch 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict (Took: 0.86ms) >-
INFO [25-04-14 12:57:19:00] -< Begin: Getting tagged semantic versions by track merge target 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 12:57:19:00] -< End: Getting tagged semantic versions by track merge target 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict (Took: 0.40ms) >-
INFO [25-04-14 12:57:19:00] -< Begin: Getting tagged semantic versions on branch 'refs/heads/main'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 12:57:19:00] -< End: Getting tagged semantic versions on branch 'refs/heads/main'. TagPrefix: [vV]? and Format: Strict (Took: 0.12ms) >-
INFO [25-04-14 12:57:19:00] -< Begin: Getting tagged semantic versions on branch 'refs/remotes/origin/main'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 12:57:19:00] -< End: Getting tagged semantic versions on branch 'refs/remotes/origin/main'. TagPrefix: [vV]? and Format: Strict (Took: 0.[11](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:11)ms) >-
INFO [25-04-14 [12](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:12):57:19:01] -< End: [Using 'TaggedCommitVersionStrategy' strategy] (Took: 19.95ms) >-
INFO [25-04-14 12:57:19:01] -< Begin: [Using 'TrackReleaseBranchesVersionStrategy' strategy] >-
INFO [25-04-[14](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:14) 12:57:19:01] -< End: [Using 'TrackReleaseBranchesVersionStrategy' strategy] (Took: 0.92ms) >-
INFO [25-04-14 12:57:19:01] -< Begin: [Using 'VersionInBranchNameVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:01] -< End: [Using 'VersionInBranchNameVersionStrategy' strategy] (Took: 0.54ms) >-
INFO [25-04-14 12:57:19:01] -< Begin: [Using 'FallbackVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] Fallback base version: Version increment '0.0.0' +semver 'Minor' with label 'hello-world'
INFO [25-04-14 12:57:19:02] -< End: [Using 'FallbackVersionStrategy' strategy] (Took: 14.83ms) >-
INFO [25-04-14 12:57:19:02] -< End: Calculating base versions for 'develop' (Took: 64.73ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: Calculating base versions for 'origin/develop' >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'ConfiguredNextVersionVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] -< End: [Using 'ConfiguredNextVersionVersionStrategy' strategy] (Took: 0.03ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'MainlineVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] -< End: [Using 'MainlineVersionStrategy' strategy] (Took: 0.05ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 0.14ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'TaggedCommitVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] -< End: [Using 'TaggedCommitVersionStrategy' strategy] (Took: 1.07ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'TrackReleaseBranchesVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] -< End: [Using 'TrackReleaseBranchesVersionStrategy' strategy] (Took: 0.49ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'VersionInBranchNameVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:02] -< End: [Using 'VersionInBranchNameVersionStrategy' strategy] (Took: 0.04ms) >-
INFO [25-04-14 12:57:19:02] -< Begin: [Using 'FallbackVersionStrategy' strategy] >-
INFO [25-04-14 12:57:19:03] Fallback base version: Version increment '0.0.0' +semver 'Minor' with label 'hello-world'
INFO [25-04-14 12:57:19:03] -< End: [Using 'FallbackVersionStrategy' strategy] (Took: 1.44ms) >-
INFO [25-04-14 12:57:19:03] -< End: Calculating base versions for 'origin/develop' (Took: 3.49ms) >-
INFO [25-04-14 12:57:19:03] -< End: Fetching the base versions for version calculation... (Took: 99.41ms) >-
INFO [25-04-14 12:57:19:03] -------------------------------------------------------
INFO [25-04-14 12:57:19:03] Base version used: Fallback base version: Take '0.0.0'
INFO [25-04-14 12:57:19:03] -------------------------------------------------------
INFO [25-04-14 12:57:19:03] -< Begin: Using manual deployment workflow to calculate the incremented version. >-
INFO [25-04-14 12:57:19:03] [15](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:15) commits found between and '8252507' - Gitversion
INFO [25-04-14 12:57:19:03] -< End: Using manual deployment workflow to calculate the incremented version. (Took: 1.27ms) >-
INFO [25-04-14 12:57:19:03] -< Begin: Getting tagged semantic versions on branch 'refs/heads/develop'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 12:57:19:03] -< End: Getting tagged semantic versions on branch 'refs/heads/develop'. TagPrefix: [vV]? and Format: Strict (Took: 0.06ms) >-
INFO [25-04-14 12:57:19:04] -< Begin: Write version variables to cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/C74956A20DD396A0[18](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:19)6C20CAAD3B64DAD3F74E56 >-
INFO [25-04-14 12:57:[19](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:20):07] -< End: Write version variables to cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/C74956A[20](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:21)DD396A0186C20CAAD3B64DAD3F74E56 (Took: 31.01ms) >-
{
"AssemblySemFileVer": "0.1.0.0",
"AssemblySemVer": "0.1.0.0",
"BranchName": "feature/hello-world",
"BuildMetaData": 15,
"CommitDate": "2025-04-14",
"CommitsSinceVersionSource": 15,
"EscapedBranchName": "feature-hello-world",
"FullBuildMetaData": "15.Branch.feature-hello-world.Sha.8252507[21](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:22)535c646608803f145448e9e7115ef04",
"FullSemVer": "0.1.0-hello-world.1+15",
"InformationalVersion": "0.1.0-hello-world.1+15.Branch.feature-hello-world.Sha.825250721535c646608803f145448e9e7115ef04",
"Major": 0,
"MajorMinorPatch": "0.1.0",
"Minor": 1,
"Patch": 0,
"PreReleaseLabel": "hello-world",
"PreReleaseLabelWithDash": "-hello-world",
"PreReleaseNumber": 1,
"PreReleaseTag": "hello-world.1",
"PreReleaseTagWithDash": "-hello-world.1",
"SemVer": "0.1.0-hello-world.1",
"Sha": "8[25](https://github.com/placeholder/placeholder-api/actions/runs/14446219147/job/40507333329#step:6:26)250721535c646608803f145448e9e7115ef04",
"ShortSha": "8252507",
"UncommittedChanges": 0,
"VersionSourceSha": "",
"WeightedPreReleaseNumber": 30001
}
The logging that is missing here compared to version 6.1.0 is: INFO [25-04-14 13:27:52:84] Found configuration file at '/home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml'
Indicating that my config is not being used in version 6.2.0.
And ofcourse the fact that the sem version is wrong.
What is expected?
After lowering the version back to 6.1.0
Run gittools/actions/gitversion/[email protected]
with:
useConfigFile: true
targetPath: ./app
configFilePath: /home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml
updateProjectFiles: true
disableCache: false
disableNormalization: false
disableShallowCloneCheck: false
updateAssemblyInfo: false
env:
UNIT_TEST_PROJECT_PATH: src/placeholder.Api.Unittest/placeholder.Api.Unittest.csproj
DOTNET_ROOT: /usr/share/dotnet
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
GITVERSION_PATH: /opt/hostedtoolcache/GitVersion.Tool/6.1.0
Running on: 'GitHub Actions'
Disable Telemetry
Command: git -C /home/runner/work/placeholder-api/placeholder-api/app rev-parse --is-shallow-repository
Command: /opt/hostedtoolcache/GitVersion.Tool/6.1.0/dotnet-gitversion --roll-forward Major /home/runner/work/placeholder-api/placeholder-api/app /output json /l console /config /home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml /updateprojectfiles
dotnet-gitversion Output:
-------------------
INFO [[2](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:2)5-04-14 1[3](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:3):27:52:73] Working directory: /home/runner/work/placeholder-api/placeholder-api/app
INFO [25-0[4](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:4)-14 13:27:52:75] Project root is: /home/runner/work/placeholder-api/placeholder-api/app/
INFO [2[5](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:5)-04-14 13:27:52:75] DotGit directory is: /home/runner/work/placeholder-api/placeholder-api/app/.git
INFO [25-04-14 13:27:52:75] Branch from build environment: refs/heads/feature/hello-world
INFO [25-04-14 13:27:52:7[6](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:6)] -< Begin: Normalizing git directory for branch 'refs/heads/feature/hello-world' >-
INFO [25-04-14 13:2[7](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:7):52:78] One remote found (origin -> 'https://github.com/placeholder/placeholder-api').
INFO [25-04-14 13:27:52:7[8](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:8)] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
INFO [25-04-14 13:27:52:7[9](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:9)] Updating local branch feature/hello-world to point at a78f3cf
INFO [25-04-14 13:27:52:81] Creating local branch from remote tracking 'refs/remotes/origin/develop'.
INFO [25-04-14 13:27:52:82] Creating local branch from remote tracking 'refs/remotes/origin/main'.
INFO [25-04-14 13:27:52:82] HEAD points at branch 'refs/heads/feature/hello-world'.
INFO [25-04-14 13:27:52:83] -< End: Normalizing git directory for branch 'refs/heads/feature/hello-world' (Took: 62.45ms) >-
INFO [25-04-14 13:27:52:84] Found configuration file at '/home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml'
INFO [25-04-14 13:27:52:84] -< Begin: Loading version variables from disk cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/2F0C5CA3A651C33DDAA8D8F0BB1CBA66DC852D44 >-
INFO [25-04-14 13:27:52:84] Cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/2F0C5CA3A651C33DDAA8D8F0BB1CBA66DC852D44 not found.
INFO [25-04-14 13:27:52:84] -< End: Loading version variables from disk cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/2F0C5CA3A651C33DDAA8D8F0BB1CBA66DC852D44 (Took: 0.08ms) >-
INFO [25-04-14 13:27:52:84] Found configuration file at '/home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml'
INFO [25-04-14 13:27:53:01] Using latest commit on specified branch
INFO [25-04-14 13:27:53:02] Getting tagged semantic versions. TagPrefix: [vV]? and Format: Strict
INFO [25-04-14 13:27:53:03] Running against branch: feature/hello-world ('a78f3cf' - Gitrversion)
INFO [25-04-14 13:27:53:04] -< Begin: Fetching the base versions for version calculation... >-
INFO [25-04-14 13:27:53:05] -< Begin: Finding branches source of 'feature/hello-world' >-
INFO [25-04-14 13:27:53:06] -< Begin: Finding merge base between 'feature/hello-world' and 'develop'. >-
INFO [25-04-14 13:27:53:06] Found merge base of ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 13:27:53:06] Merge base of 'feature/hello-world' and 'develop' is ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 13:27:53:06] -< End: Finding merge base between 'feature/hello-world' and 'develop'. (Took: 7.36ms) >-
INFO [25-04-14 13:27:53:06] -< Begin: Finding merge base between 'feature/hello-world' and 'main'. >-
INFO [25-04-14 13:27:53:06] Found merge base of ''0de56ca' - Initial commit'
INFO [25-04-14 13:27:53:06] Merge base of 'feature/hello-world' and 'main' is ''0de56ca' - Initial commit'
INFO [25-04-14 13:27:53:06] -< End: Finding merge base between 'feature/hello-world' and 'main'. (Took: 0.45ms) >-
INFO [25-04-14 13:27:53:06] -< Begin: Finding merge base between 'feature/hello-world' and 'origin/develop'. >-
INFO [25-04-14 13:27:53:06] Found merge base of ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 13:27:53:06] Merge base of 'feature/hello-world' and 'origin/develop' is ''58178f4' - [scripted] Update .gitignore with missing entries: nuget.config'
INFO [25-04-14 13:27:53:06] -< End: Finding merge base between 'feature/hello-world' and 'origin/develop'. (Took: 0.39ms) >-
INFO [25-04-14 13:27:53:07] -< Begin: Finding merge base between 'feature/hello-world' and 'origin/main'. >-
INFO [25-04-14 13:27:53:07] Found merge base of ''0de56ca' - Initial commit'
INFO [25-04-14 13:27:53:07] Merge base of 'feature/hello-world' and 'origin/main' is ''0de56ca' - Initial commit'
INFO [25-04-14 13:27:53:07] -< End: Finding merge base between 'feature/hello-world' and 'origin/main'. (Took: 0.34ms) >-
INFO [25-04-14 13:27:53:07] -< End: Finding branches source of 'feature/hello-world' (Took: 20.86ms) >-
INFO [25-04-14 13:27:53:08] -< Begin: Calculating base versions for 'develop' >-
INFO [25-04-14 13:27:53:08] -< Begin: [Using 'ConfiguredNextVersionVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:08] -< End: [Using 'ConfiguredNextVersionVersionStrategy' strategy] (Took: 0.54ms) >-
INFO [25-04-14 13:27:53:08] -< Begin: [Using 'MainlineVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:08] -< End: [Using 'MainlineVersionStrategy' strategy] (Took: 0.45ms) >-
INFO [25-04-14 13:27:53:08] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:11] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 27.06ms) >-
INFO [25-04-14 13:27:53:11] -< Begin: [Using 'TaggedCommitVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:11] -< Begin: Getting tagged semantic versions on branch 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 13:27:53:11] -< End: Getting tagged semantic versions on branch 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict (Took: 0.77ms) >-
INFO [25-04-14 13:27:53:12] -< Begin: Getting tagged semantic versions by track merge target 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 13:27:53:12] -< End: Getting tagged semantic versions by track merge target 'refs/heads/feature/hello-world'. TagPrefix: [vV]? and Format: Strict (Took: 0.36ms) >-
INFO [25-04-14 13:27:53:12] -< Begin: Getting tagged semantic versions on branch 'refs/heads/main'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 13:27:53:12] -< End: Getting tagged semantic versions on branch 'refs/heads/main'. TagPrefix: [vV]? and Format: Strict (Took: 0.15ms) >-
INFO [25-04-14 13:27:53:12] -< Begin: Getting tagged semantic versions on branch 'refs/remotes/origin/main'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 13:27:53:12] -< End: Getting tagged semantic versions on branch 'refs/remotes/origin/main'. TagPrefix: [vV]? and Format: Strict (Took: 0.12ms) >-
INFO [25-04-14 13:27:53:13] -< End: [Using 'TaggedCommitVersionStrategy' strategy] (Took: 21.61ms) >-
INFO [25-04-14 13:27:53:13] -< Begin: [Using 'TrackReleaseBranchesVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:13] -< End: [Using 'TrackReleaseBranchesVersionStrategy' strategy] (Took: 1.16ms) >-
INFO [25-04-14 13:27:53:13] -< Begin: [Using 'VersionInBranchNameVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:13] -< End: [Using 'VersionInBranchNameVersionStrategy' strategy] (Took: 0.65ms) >-
INFO [25-04-14 13:27:53:13] -< Begin: [Using 'FallbackVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] Fallback base version: Version increment '0.0.0' +semver 'Minor' with label 'hello-world'
INFO [25-04-14 13:27:53:15] -< End: [Using 'FallbackVersionStrategy' strategy] (Took: 18.45ms) >-
INFO [25-04-14 13:27:53:15] -< End: Calculating base versions for 'develop' (Took: 70.59ms) >-
INFO [25-04-14 13:27:53:15] -< Begin: Calculating base versions for 'origin/develop' >-
INFO [25-04-14 13:27:53:15] -< Begin: [Using 'ConfiguredNextVersionVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] -< End: [Using 'ConfiguredNextVersionVersionStrategy' strategy] (Took: 0.[10](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:10)ms) >-
INFO [25-04-14 13:27:53:15] -< Begin: [Using 'MainlineVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] -< End: [Using 'MainlineVersionStrategy' strategy] (Took: 0.03ms) >-
INFO [25-04-14 [13](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:13):27:53:15] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
INFO [25-04-[14](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:14) 13:27:53:15] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 0.14ms) >-
INFO [25-04-14 13:27:53:[15](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:15)] -< Begin: [Using 'TaggedCommitVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] -< End: [Using 'TaggedCommitVersionStrategy' strategy] (Took: 0.71ms) >-
INFO [25-04-14 13:27:53:15] -< Begin: [Using 'TrackReleaseBranchesVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] -< End: [Using 'TrackReleaseBranchesVersionStrategy' strategy] (Took: 0.35ms) >-
INFO [25-04-14 13:27:53:15] -< Begin: [Using 'VersionInBranchNameVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] -< End: [Using 'VersionInBranchNameVersionStrategy' strategy] (Took: 0.03ms) >-
INFO [25-04-14 13:27:53:15] -< Begin: [Using 'FallbackVersionStrategy' strategy] >-
INFO [25-04-14 13:27:53:15] Fallback base version: Version increment '0.0.0' +semver 'Minor' with label 'hello-world'
INFO [25-04-14 13:27:53:15] -< End: [Using 'FallbackVersionStrategy' strategy] (Took: 0.84ms) >-
INFO [25-04-14 13:27:53:15] -< End: Calculating base versions for 'origin/develop' (Took: 2.46ms) >-
INFO [25-04-14 13:27:53:15] -< End: Fetching the base versions for version calculation... (Took: 107.55ms) >-
INFO [25-04-14 13:27:53:15] -------------------------------------------------------
INFO [25-04-14 13:27:53:15] Base version used: Fallback base version: Take '0.0.0'
INFO [25-04-14 13:27:53:15] -------------------------------------------------------
INFO [25-04-14 13:27:53:15] -< Begin: Using continuous delivery workflow to calculate the incremented version. >-
INFO [25-04-14 13:27:53:[16](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:16)] 18 commits found between and 'a78f3cf' - Gitrversion
INFO [25-04-14 13:27:53:16] -< End: Using continuous delivery workflow to calculate the incremented version. (Took: 1.35ms) >-
INFO [25-04-14 13:27:53:16] -< Begin: Getting tagged semantic versions on branch 'refs/heads/develop'. TagPrefix: [vV]? and Format: Strict >-
INFO [25-04-14 13:27:53:16] -< End: Getting tagged semantic versions on branch 'refs/heads/develop'. TagPrefix: [vV]? and Format: Strict (Took: 0.05ms) >-
INFO [25-04-14 13:27:53:16] Found configuration file at '/home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml'
INFO [25-04-14 13:27:53:16] -< Begin: Write version variables to cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/2F0C5CA3A651C33DDAA8D8F0BB1CBA66DC852D44 >-
INFO [25-04-14 13:27:53:19] -< End: Write version variables to cache file /home/runner/work/placeholder-api/placeholder-api/app/.git/gitversion_cache/2F0C5CA3A651C33DDAA8D8F0BB1CBA66DC852D44 (Took: 29.54ms) >-
INFO [25-04-14 13:27:53:19] Found configuration file at '/home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml'
{
"AssemblySemFileVer": "0.1.0.0",
"AssemblySemVer": "0.1.0.0",
"BranchName": "feature/hello-world",
"BuildMetaData": null,
"CommitDate": "2025-04-14",
"CommitsSinceVersionSource": [18](https://github.com/placeholder/placeholder-api/actions/runs/14446876146/job/40509500954#step:6:19),
"EscapedBranchName": "feature-hello-world",
"FullBuildMetaData": "Branch.feature-hello-world.Sha.a78f3cf342da9140167dbc63acb42965607e3754",
"FullSemVer": "0.1.0-hello-world.18",
"InformationalVersion": "0.1.0-hello-world.18+Branch.feature-hello-world.Sha.a78f3cf342da9140167dbc63acb42965607e3754",
"Major": 0,
"MajorMinorPatch": "0.1.0",
"Minor": 1,
"Patch": 0,
"PreReleaseLabel": "hello-world",
"PreReleaseLabelWithDash": "-hello-world",
"PreReleaseNumber": 18,
"PreReleaseTag": "hello-world.18",
"PreReleaseTagWithDash": "-hello-world.18",
"SemVer": "0.1.0-hello-world.18",
"Sha": "a78f3cf342da9140167dbc63acb42965607e3754",
"ShortSha": "a78f3cf",
"UncommittedChanges": 0,
"VersionSourceSha": "",
"WeightedPreReleaseNumber": 30018
}
Steps to Reproduce
Use github action with a custom config file.
Upgrade from 6.1.0 to 6.2.0.
The config file settings are being ignored after upgrading.
Output log or link to your CI build (if appropriate).
The text was updated successfully, but these errors were encountered:
Prerequisites
GitVersion package
GitHub Actions
What are you seeing?
The Config file is not working / begin ignored in gitversion version 6.2.0
The logging that is missing here compared to version 6.1.0 is:
INFO [25-04-14 13:27:52:84] Found configuration file at '/home/runner/work/placeholder-api/placeholder-api/app/build/gitversion.yml'
Indicating that my config is not being used in version 6.2.0.
And ofcourse the fact that the sem version is wrong.
What is expected?
After lowering the version back to 6.1.0
Steps to Reproduce
Use github action with a custom config file.
Upgrade from 6.1.0 to 6.2.0.
The config file settings are being ignored after upgrading.
Output log or link to your CI build (if appropriate).
The text was updated successfully, but these errors were encountered: