summarylogtreecommitdiffstats
path: root/version-from-environment-variable.patch
blob: a7c48bdcf2e133dd380f5a11087d2927fa878e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/PowerShell.Common.props b/PowerShell.Common.props
index 5e7e41f14..43d7969a6 100644
--- a/PowerShell.Common.props
+++ b/PowerShell.Common.props
@@ -15,7 +15,7 @@
     BeforeTargets="_GenerateRestoreProjectSpec;GenerateNuspec;BeforeBuild"
   >
 
-    <Exec Command='git describe --abbrev=60 --long'
+    <Exec Command='echo $POWERSHELL_GIT_DESCRIBE_OUTPUT'
           WorkingDirectory="$(MSBuildProjectDirectory)"
           ConsoleToMSBuild="true"
           StandardOutputImportance="Low">