Skip to content

Commit c3efa73

Browse files
committed
打包并发布到nuget.org平台
1 parent fa83bbb commit c3efa73

8 files changed

+45
-13
lines changed

LICENSE.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright © 2018-2023 Jimes Yang <[email protected]>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
# It can download from Nuget.com use Powershell
55

6-
Install-Package Phonedata -Version 1.1.0
6+
Install-Package Phonedata -Version 1.2.1
77

88
# Test Platform:
99

10-
Windows 7 x64
11-
vs 2017
10+
Windows 7 x64/Widnwos 10 x64
1211
Net Framework v4.6.1
12+
dotnet core 6.0
1313

1414
--------------------------------------------
1515

phonedata/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
3333
// 方法是按如下所示使用“*”: :
3434
// [assembly: AssemblyVersion("1.1.*")]
35-
[assembly: AssemblyVersion("1.2.0")]
36-
[assembly: AssemblyFileVersion("1.2.0")]
35+
[assembly: AssemblyVersion("1.2.1")]
36+
[assembly: AssemblyFileVersion("1.2.1")]
2.05 MB
Binary file not shown.

phonedata/phonedata.dotnet.csproj

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
</PropertyGroup>
6-
<PropertyGroup>
75
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6+
<PackageReadmeFile>README.md</PackageReadmeFile>
7+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
8+
89
</PropertyGroup>
910
<ItemGroup>
1011
<None Include="App.config" />
@@ -14,5 +15,7 @@
1415
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1516
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
1617
</Content>
18+
<None Include="..\README.md" Pack="true" PackagePath="$(PackageReadmeFile)"/>
19+
<None Include="..\LICENSE.txt" Pack="true" PackagePath="$(PackageLicenseFile)"/>
1720
</ItemGroup>
1821
</Project>

phonedata/phonedata.dotnet.nuspec

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
3+
<metadata>
4+
<id>phonedata.dotnet</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://sndnvaps.mit-license.org/2018</licenseUrl>
10+
<projectUrl>https://github.com/sndnvaps/Phonedata</projectUrl>
11+
<releaseNotes>Forth release.</releaseNotes>
12+
<copyright>Copyright 2018 - 2023</copyright>
13+
<tags>v1.0.0 v1.0.2 v1.1.0 v1.2.1</tags>
14+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
15+
<dependencies>
16+
<group targetFramework=".NETStandard2.0" />
17+
</dependencies>
18+
<contentFiles>
19+
<files include="any/netstandard2.0/phone.dat" buildAction="Content" />
20+
</contentFiles>
21+
</metadata>
22+
</package>

phonedata/phonedata.nuspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<projectUrl>https://github.com/sndnvaps/Phonedata</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>$description$</description>
13-
<releaseNotes>Third release.</releaseNotes>
14-
<copyright>Copyright 2018 - 2019</copyright>
15-
<tags>v1.0.0 v1.0.2 v1.1.0</tags>
13+
<releaseNotes>Forth release.</releaseNotes>
14+
<copyright>Copyright 2018 - 2023</copyright>
15+
<tags>v1.0.0 v1.0.2 v1.1.0 v1.2.0</tags>
1616
</metadata>
1717
</package>

phonedatacmd/phonedatacmd.dotnet.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net6.0</TargetFramework>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
68
</PropertyGroup>
79

810
<ItemGroup>
911
<ProjectReference Include="..\phonedata\phonedata.dotnet.csproj" />
1012
</ItemGroup>
1113

12-
<PropertyGroup>
13-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
14-
</PropertyGroup>
1514
<ItemGroup>
1615
<None Include="App.config" />
1716
</ItemGroup>
@@ -25,5 +24,6 @@
2524
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2625
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
2726
</Content>
27+
<None Include="..\README.md" Pack="true" PackagePath="\"/>
2828
</ItemGroup>
2929
</Project>

0 commit comments

Comments
 (0)