]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
NuGet: Use license expression (#36421)
authorJonathan <vanillajonathan@users.noreply.github.com>
Tue, 27 Sep 2022 19:45:28 +0000 (21:45 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Sep 2022 19:45:28 +0000 (22:45 +0300)
nuget/MyGet.ps1
nuget/bootstrap.nuspec
nuget/bootstrap.sass.nuspec

index e1e9904670801615d24f3a9e813016ae1c15da23..5213b0104ed2ef6b7da571559d92ce3c67e4cc67 100644 (file)
@@ -4,8 +4,6 @@
 
 $nuget = $env:NuGet
 
-Copy-Item $env:SourcesPath\LICENSE $env:SourcesPath\LICENSE.txt # has to be .txt extension, don't check in
-
 # parse the version number out of package.json
 $bsversionParts = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version.split('-', 2) # split the version on the '-'
 $bsversion = $bsversionParts[0]
index ab23e2458b07c68db231c83216c4076558b3fca3..d2127d4a0763f34f710d52273b5564fb5adfe23a 100644 (file)
@@ -9,11 +9,11 @@
     <owners>bootstrap</owners>
     <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
     <releaseNotes>https://blog.getbootstrap.com/</releaseNotes>
-    <summary>Bootstrap framework in CSS. Includes JavaScript</summary>
+    <summary>Bootstrap framework in CSS. Includes JavaScript.</summary>
     <language>en-us</language>
     <projectUrl>https://getbootstrap.com/</projectUrl>
     <icon>bootstrap.png</icon>
-    <license type="file">LICENSE.txt</license>
+    <license type="expression">MIT</license>
     <copyright>Copyright 2017-2022</copyright>
     <requireLicenseAcceptance>false</requireLicenseAcceptance>
     <tags>css mobile-first responsive front-end framework web</tags>
@@ -22,7 +22,6 @@
     </contentFiles>
   </metadata>
   <files>
-    <file src="LICENSE.txt" target="" />
     <file src="nuget\bootstrap.png" target="" />
 
     <file src="dist\css\*.*" target="content\Content" />
index 058174e7093de5e9fa60490dd76a3f96f135fc08..ef2284f157aa86261a4b71ce87d9c3af2f5e828e 100644 (file)
@@ -13,7 +13,7 @@
     <language>en-us</language>
     <projectUrl>https://getbootstrap.com/</projectUrl>
     <icon>bootstrap.png</icon>
-    <license type="file">LICENSE.txt</license>
+    <license type="expression">MIT</license>
     <copyright>Copyright 2017-2022</copyright>
     <requireLicenseAcceptance>false</requireLicenseAcceptance>
     <tags>css sass mobile-first responsive front-end framework web</tags>
@@ -22,7 +22,6 @@
     </contentFiles>
   </metadata>
   <files>
-    <file src="LICENSE.txt" target="" />
     <file src="nuget\bootstrap.png" target="" />
 
     <file src="scss\**\*.scss" target="content\Content\bootstrap" />