Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan <vanillajonathan@users.noreply.github.com>2022-09-27 22:45:28 +0300
committerGitHub <noreply@github.com>2022-09-27 22:45:28 +0300
commitf84d82ada02084cc6567b7ff60f25650084b8bea (patch)
tree23420b8f3c29d50ff249de883c3bbaeb2e93d3a4
parent80482af57b2ac1203e9436398e0153476907f9b4 (diff)
NuGet: Use license expression (#36421)
-rw-r--r--nuget/MyGet.ps12
-rw-r--r--nuget/bootstrap.nuspec5
-rw-r--r--nuget/bootstrap.sass.nuspec3
3 files changed, 3 insertions, 7 deletions
diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1
index e1e9904670..5213b0104e 100644
--- a/nuget/MyGet.ps1
+++ b/nuget/MyGet.ps1
@@ -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]
diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec
index ab23e2458b..d2127d4a07 100644
--- a/nuget/bootstrap.nuspec
+++ b/nuget/bootstrap.nuspec
@@ -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" />
diff --git a/nuget/bootstrap.sass.nuspec b/nuget/bootstrap.sass.nuspec
index 058174e709..ef2284f157 100644
--- a/nuget/bootstrap.sass.nuspec
+++ b/nuget/bootstrap.sass.nuspec
@@ -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" />