Skip to content

Commit

Permalink
NuGet: Use license expression (#36421)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanillajonathan committed Sep 27, 2022
1 parent 80482af commit f84d82a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions nuget/MyGet.ps1
Expand Up @@ -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]
Expand Down
5 changes: 2 additions & 3 deletions nuget/bootstrap.nuspec
Expand Up @@ -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>
Expand All @@ -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" />
Expand Down
3 changes: 1 addition & 2 deletions nuget/bootstrap.sass.nuspec
Expand Up @@ -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>
Expand All @@ -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" />
Expand Down

0 comments on commit f84d82a

Please sign in to comment.