summaryrefslogtreecommitdiff
path: root/shells/powershell/files/patch-PowerShell.Common.props
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-02-15 14:16:21 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-02-21 21:01:54 +0300
commit1a37ab5e607402b589579a165afed8cf81ee050b (patch)
treef3003bcb439cf2cc0c25e381d7035c5e3d5b9408 /shells/powershell/files/patch-PowerShell.Common.props
parentshells/libpowershell-native: Support library for PowerShell (diff)
shells/powershell: Microsoft's shell with support for .NET objects
Co-authored-by: Felix Palmen <zirias@FreeBSD.org> Co-authored-by: Szczepan Ćwikliński <sec@thinkcode.pl>
Diffstat (limited to 'shells/powershell/files/patch-PowerShell.Common.props')
-rw-r--r--shells/powershell/files/patch-PowerShell.Common.props19
1 files changed, 19 insertions, 0 deletions
diff --git a/shells/powershell/files/patch-PowerShell.Common.props b/shells/powershell/files/patch-PowerShell.Common.props
new file mode 100644
index 000000000000..d532c59d2f9d
--- /dev/null
+++ b/shells/powershell/files/patch-PowerShell.Common.props
@@ -0,0 +1,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>7.5.0</PowerShellVersion>
++ <ReleaseTag>7.5.0</ReleaseTag>
++ </PropertyGroup>
+
+ <PropertyGroup Condition = "'$(ReleaseTag)' != ''">
+ <!--