diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1 index b3d9c8f77..ad17dea91 100644 --- a/nuget/MyGet.ps1 +++ b/nuget/MyGet.ps1 @@ -1,8 +1,7 @@ $nuget = $env:NuGet -#parse the version number out of the Jekyll _config.yml -$yaml = (Select-String $env:SourcesPath\_config.yml -pattern "current_version").ToString().Split(" "); -$bsversion = $yaml[$yaml.Length - 1] +#parse the version number out of package.json +$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version #create packages & $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion diff --git a/nuget/bootstrap.less.nuspec b/nuget/bootstrap.less.nuspec index 72aba82fe..7d69099f3 100644 --- a/nuget/bootstrap.less.nuspec +++ b/nuget/bootstrap.less.nuspec @@ -3,12 +3,12 @@ bootstrap.less 3.3 - Bootstrap LESS - Mark Otto,Jacob Thornton + Bootstrap Less + Twitter, Inc. bootstrap The most popular front-end framework for developing responsive, mobile first projects on the web. http://blog.getbootstrap.com - Bootstrap framework in LESS. Includes fonts and javascript + Bootstrap framework in Less. Includes fonts and JavaScript en-us http://getbootstrap.com http://getbootstrap.com/apple-touch-icon.png diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec index 1dee303bc..3f1e211f8 100644 --- a/nuget/bootstrap.nuspec +++ b/nuget/bootstrap.nuspec @@ -4,11 +4,11 @@ bootstrap 3.3 Bootstrap CSS - Mark Otto,Jacob Thornton + Twitter, Inc. bootstrap The most popular front-end framework for developing responsive, mobile first projects on the web. http://blog.getbootstrap.com - Bootstrap framework in CSS. Includes fonts and javascript + Bootstrap framework in CSS. Includes fonts and JavaScript en-us http://getbootstrap.com http://getbootstrap.com/apple-touch-icon.png