From f84d82ada02084cc6567b7ff60f25650084b8bea Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 27 Sep 2022 21:45:28 +0200 Subject: [PATCH] NuGet: Use license expression (#36421) --- nuget/MyGet.ps1 | 2 -- nuget/bootstrap.nuspec | 5 ++--- nuget/bootstrap.sass.nuspec | 3 +-- 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 @@ bootstrap The most popular front-end framework for developing responsive, mobile first projects on the web. https://blog.getbootstrap.com/ - Bootstrap framework in CSS. Includes JavaScript + Bootstrap framework in CSS. Includes JavaScript. en-us https://getbootstrap.com/ bootstrap.png - LICENSE.txt + MIT Copyright 2017-2022 false css mobile-first responsive front-end framework web @@ -22,7 +22,6 @@ - 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 @@ en-us https://getbootstrap.com/ bootstrap.png - LICENSE.txt + MIT Copyright 2017-2022 false css sass mobile-first responsive front-end framework web @@ -22,7 +22,6 @@ -