0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Cleaner version parsing

Changed LESS to Less and author to Twitter, Inc.
This commit is contained in:
Supergibbs 2015-06-26 09:15:12 -07:00
parent 95013f7d6d
commit 2e59d177aa
3 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -3,12 +3,12 @@
<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>

View File

@ -4,11 +4,11 @@
<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>