1 parent fbd2345 commit c431ae7Copy full SHA for c431ae7
1 file changed
.github/workflows/Lucene-Net-Performance-Regression.yml
@@ -82,7 +82,8 @@ jobs:
82
shell: pwsh
83
run: |
84
$commit = "${{ matrix.commit }}"
85
- $packageVersion = "${{ github.event.inputs.base_version }}-${{ steps.calc.outputs.build_number }}-g$commit"
+ $gitCommit = "$commit".SubString(0, 10)
86
+ $packageVersion = "${{ github.event.inputs.base_version }}-${{ steps.calc.outputs.build_number }}-g$gitCommit"
87
88
# Compute FileVersion (just the numeric part)
89
$fileVersion = $packageVersion.Split('-')[0]
@@ -95,7 +96,6 @@ jobs:
95
96
}
97
98
# Compute InformationalVersion (with git hash)
- $gitCommit = "$commit".SubString(0, 10)
99
if ($LASTEXITCODE -eq 0 -and $gitCommit) {
100
$informationalVersion = "$packageVersion commit:[$gitCommit]"
101
} else {
0 commit comments