Changed LESS to Less and author to Twitter, Inc.
$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
<metadata>
<id>bootstrap.less</id>
<version>3.3</version>
- <title>Bootstrap LESS</title>
- <authors>Mark Otto,Jacob Thornton</authors>
+ <title>Bootstrap Less</title>
+ <authors>Twitter, Inc.</authors>
<owners>bootstrap</owners>
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
<releaseNotes>http://blog.getbootstrap.com</releaseNotes>
- <summary>Bootstrap framework in LESS. Includes fonts and javascript</summary>
+ <summary>Bootstrap framework in Less. Includes fonts and JavaScript</summary>
<language>en-us</language>
<projectUrl>http://getbootstrap.com</projectUrl>
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
<id>bootstrap</id>
<version>3.3</version>
<title>Bootstrap CSS</title>
- <authors>Mark Otto,Jacob Thornton</authors>
+ <authors>Twitter, Inc.</authors>
<owners>bootstrap</owners>
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
<releaseNotes>http://blog.getbootstrap.com</releaseNotes>
- <summary>Bootstrap framework in CSS. Includes fonts and javascript</summary>
+ <summary>Bootstrap framework in CSS. Includes fonts and JavaScript</summary>
<language>en-us</language>
<projectUrl>http://getbootstrap.com</projectUrl>
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>