Skip to content

Commit c3b1297

Browse files
committed
Replace MIT-0 with MIT to fix nuget push
Publishing UnitsNet.4.73.0.nupkg to https://www.nuget.org/api/v2/package... Error publishing package. NuGet server returned 400: License expression must only contain licenses that are approved by Open Source Initiative or Free Software Foundation. Unsupported licenses: MIT-0. Maybe this is just a temporary issue, because MIT-0 is an approved license by the open source initiative.
1 parent 47ae7d4 commit c3b1297

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageIcon>logo-32.png</PackageIcon>
1313
<PackageIconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/angularsen/UnitsNet</PackageProjectUrl>
15-
<PackageLicenseExpression>MIT-0</PackageLicenseExpression>
15+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1616
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1717
<PackageTags>UnitsNet Extensions NumberToExtensions NumberToUnitsExtensions NumberExtensions NumberToUnits convert conversion parse</PackageTags>
1818
</PropertyGroup>

UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageIcon>logo-32.png</PackageIcon>
1313
<PackageIconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/angularsen/UnitsNet</PackageProjectUrl>
15-
<PackageLicenseExpression>MIT-0</PackageLicenseExpression>
15+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1616
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1717
<PackageTags>unit units measurement json Json.NET Newtonsoft serialize deserialize serialization deserialization</PackageTags>
1818
<PackageReleaseNotes>Upgrade JSON.NET to 12.0.3. Support arrays.</PackageReleaseNotes>

UnitsNet.WindowsRuntimeComponent/UnitsNet.WindowsRuntimeComponent.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Units.NET - Windows Runtime Component</title>
77
<authors>Andreas Gullberg Larsen</authors>
88
<owners>Andreas Gullberg Larsen</owners>
9-
<license type="expression">MIT-0</license>
9+
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>For C#/VB Universal Windows code (UWP), use UnitsNet instead. This is a Windows Runtime Component with reduced functionality to support all UWP languages, such as JavaScript and C++, and other runtime components.</description>

UnitsNet/UnitsNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageIcon>logo-32.png</PackageIcon>
1313
<PackageIconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/angularsen/UnitsNet</PackageProjectUrl>
15-
<PackageLicenseExpression>MIT-0</PackageLicenseExpression>
15+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1616
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1717
<PackageTags>unit units quantity quantities measurement si metric imperial abbreviation abbreviations convert conversion parse immutable</PackageTags>
1818
</PropertyGroup>

0 commit comments

Comments
 (0)