aboutsummaryrefslogtreecommitdiffstats
path: root/shells/powershell/files/patch-PowerShell.Common.props
blob: 6c61557936feb39e48eeafaf742f0ae0f63484a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- PowerShell.Common.props.orig	2024-04-11 18:38:22 UTC
+++ PowerShell.Common.props
@@ -15,12 +15,10 @@
     BeforeTargets="_GenerateRestoreProjectSpec;GenerateNuspec;BeforeBuild"
   >
 
-    <Exec Command='git describe --abbrev=60 --long'
-          WorkingDirectory="$(MSBuildProjectDirectory)"
-          ConsoleToMSBuild="true"
-          StandardOutputImportance="Low">
-      <Output TaskParameter="ConsoleOutput" PropertyName="PowerShellVersion" />
-    </Exec>
+    <PropertyGroup>
+      <PowerShellVersion>%%PORTVERSION%%</PowerShellVersion>
+      <ReleaseTag>%%PORTVERSION%%</ReleaseTag>
+    </PropertyGroup>
 
     <PropertyGroup Condition = "'$(ReleaseTag)' != ''">
       <!--