Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NuGet: Use license expression #36421

Merged
merged 8 commits into from Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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