mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update copyright symbol for NuGet packages (#9936)
# Conflicts: # tools/packaging/packaging.strings.psd1
This commit is contained in:
@@ -39,6 +39,7 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
'@
|
||||
|
||||
UbuntuAfterRemoveScript = @'
|
||||
#!/bin/sh
|
||||
set -e
|
||||
@@ -48,11 +49,13 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
'@
|
||||
|
||||
MacOSLauncherScript = @'
|
||||
#!/usr/bin/env bash
|
||||
open {0}
|
||||
'@
|
||||
MacOSLauncherPlistTemplate = @'
|
||||
|
||||
MacOSLauncherPlistTemplate = @'
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
@@ -82,8 +85,9 @@ MacOSLauncherPlistTemplate = @'
|
||||
</dict>
|
||||
</plist>
|
||||
'@
|
||||
# see https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
|
||||
OsxDistributionTemplate = @'
|
||||
|
||||
# see https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
|
||||
OsxDistributionTemplate = @'
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<installer-gui-script minSpecVersion="1">
|
||||
<title>{0}</title>
|
||||
@@ -107,7 +111,8 @@ OsxDistributionTemplate = @'
|
||||
<pkg-ref id="{4}" version="{1}" onConclusion="none">{2}</pkg-ref>
|
||||
</installer-gui-script>
|
||||
'@
|
||||
NuspecTemplate = @'
|
||||
|
||||
NuspecTemplate = @'
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
|
||||
<metadata>
|
||||
@@ -116,13 +121,13 @@ NuspecTemplate = @'
|
||||
<authors>Microsoft</authors>
|
||||
<owners>Microsoft,PowerShell</owners>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<description>PowerShell runtime for hosting PowerShell Core</description>
|
||||
<description>Runtime for hosting PowerShell</description>
|
||||
<projectUrl>https://github.com/PowerShell/PowerShell</projectUrl>
|
||||
<iconUrl>https://github.com/PowerShell/PowerShell/blob/master/assets/Powershell_black_64.png?raw=true</iconUrl>
|
||||
<licenseUrl>https://github.com/PowerShell/PowerShell/blob/master/LICENSE.txt</licenseUrl>
|
||||
<tags>PowerShell</tags>
|
||||
<language>en-US</language>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<contentFiles>
|
||||
<files include="**/*" buildAction="None" copyToOutput="true" flatten="false" />
|
||||
</contentFiles>
|
||||
@@ -133,7 +138,7 @@ NuspecTemplate = @'
|
||||
</package>
|
||||
'@
|
||||
|
||||
NuGetConfigFile = @'
|
||||
NuGetConfigFile = @'
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
@@ -142,4 +147,37 @@ NuGetConfigFile = @'
|
||||
</packageSources>
|
||||
</configuration>
|
||||
'@
|
||||
|
||||
GlobalToolNuSpec = @'
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>{0}</id>
|
||||
<version>{1}</version>
|
||||
<authors>Microsoft</authors>
|
||||
<owners>Microsoft,PowerShell</owners>
|
||||
<projectUrl>https://github.com/PowerShell/PowerShell</projectUrl>
|
||||
<iconUrl>https://github.com/PowerShell/PowerShell/blob/master/assets/Powershell_black_64.png?raw=true</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>PowerShell global tool</description>
|
||||
<license type="expression">MIT</license>
|
||||
<tags>PowerShell</tags>
|
||||
<language>en-US</language>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<packageTypes>
|
||||
<packageType name="DotnetTool" />
|
||||
</packageTypes>
|
||||
</metadata>
|
||||
</package>
|
||||
'@
|
||||
|
||||
GlobalToolSettingsFile = @'
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<DotNetCliTool Version="1">
|
||||
<Commands>
|
||||
<Command Name="pwsh" EntryPoint="{0}" Runner="dotnet" />
|
||||
</Commands>
|
||||
</DotNetCliTool>
|
||||
'@
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user