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 e0d9a18 commit f4a30f6Copy full SHA for f4a30f6
build.fsx
@@ -111,10 +111,11 @@ let projects = [
111
112
let msbuild setParams project =
113
let buildMode = Environment.environVarOrDefault "buildMode" "Release"
114
+ let commit = Git.Information.getCurrentSHA1 "."
115
project |> MSBuild.build (
116
quiet <<
117
setParams <<
- addProperties ["Configuration", buildMode] <<
118
+ addProperties ["Configuration", buildMode; "RepositoryCommit", commit] <<
119
addVersionInfo currentVersionInfo << setParams
120
)
121
0 commit comments