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 1eadc47 commit 3f98e8dCopy full SHA for 3f98e8d
src/app/Fake.Tools.Git/Information.fs
@@ -80,6 +80,7 @@ module Information =
80
match Environment.environVarOrNone "BUILD_SOURCEVERSION" with
81
| None -> reraise ()
82
| Some s -> s
83
+
84
/// <summary>
85
/// Returns the short SHA1 of the current <c>HEAD</c>
86
/// </summary>
@@ -88,6 +89,7 @@ module Information =
88
89
let getCurrentShortSHA1 repositoryDir =
90
let _, msg, _ = CommandHelper.runGitCommand repositoryDir "rev-parse --short HEAD"
91
msg |> String.separated ""
92
93
94
/// Shows the git status
95
0 commit comments