NuGet: Use license expression (#36421)

This commit is contained in:
Jonathan 2022-09-27 21:45:28 +02:00 committed by GitHub
parent 80482af57b
commit f84d82ada0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 7 deletions

View 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]

View 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" />

View 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" />