We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7263053 commit 6b1696eCopy full SHA for 6b1696e
.github/workflows/Build.yml
@@ -77,6 +77,9 @@ jobs:
77
}
78
79
80
+ $COMMIT_NUMBER = @($(git rev-list --count origin/master..), $(git rev-list --count HEAD))[$IsPrerelease]
81
+ echo "COMMIT_NUMBER=$COMMIT_NUMBER" >> $env:COMMIT_NUMBER
82
+
83
$GetFileVersionOutput = dotnet msbuild dotnet/Directory.Build.props /t:GetFileVersionForPackage
84
"$GetFileVersionOutput" -match "(?<=FileVersion:)(.*)" > $null
85
$GetFileVersionOutput = $Matches[0]
@@ -91,7 +94,6 @@ jobs:
91
94
92
95
Write-Output "Packge version to be used: $NUGET_PACKAGE_VERSION"
93
96
- $COMMIT_NUMBER = @($(git rev-list --count origin/master..), $(git rev-list --count HEAD))[$IsPrerelease]
97
$COMMIT_MESSAGE = $(git log -1 --pretty=%B)
98
$LAST_COMMITTER = $(git log -1 --pretty=format:%an)
99
0 commit comments