mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Cleaner version parsing
Changed LESS to Less and author to Twitter, Inc.
This commit is contained in:
parent
95013f7d6d
commit
2e59d177aa
@ -1,8 +1,7 @@
|
|||||||
$nuget = $env:NuGet
|
$nuget = $env:NuGet
|
||||||
|
|
||||||
#parse the version number out of the Jekyll _config.yml
|
#parse the version number out of package.json
|
||||||
$yaml = (Select-String $env:SourcesPath\_config.yml -pattern "current_version").ToString().Split(" ");
|
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version
|
||||||
$bsversion = $yaml[$yaml.Length - 1]
|
|
||||||
|
|
||||||
#create packages
|
#create packages
|
||||||
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>bootstrap.less</id>
|
<id>bootstrap.less</id>
|
||||||
<version>3.3</version>
|
<version>3.3</version>
|
||||||
<title>Bootstrap LESS</title>
|
<title>Bootstrap Less</title>
|
||||||
<authors>Mark Otto,Jacob Thornton</authors>
|
<authors>Twitter, Inc.</authors>
|
||||||
<owners>bootstrap</owners>
|
<owners>bootstrap</owners>
|
||||||
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
|
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
|
||||||
<releaseNotes>http://blog.getbootstrap.com</releaseNotes>
|
<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>
|
<language>en-us</language>
|
||||||
<projectUrl>http://getbootstrap.com</projectUrl>
|
<projectUrl>http://getbootstrap.com</projectUrl>
|
||||||
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
|
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
<id>bootstrap</id>
|
<id>bootstrap</id>
|
||||||
<version>3.3</version>
|
<version>3.3</version>
|
||||||
<title>Bootstrap CSS</title>
|
<title>Bootstrap CSS</title>
|
||||||
<authors>Mark Otto,Jacob Thornton</authors>
|
<authors>Twitter, Inc.</authors>
|
||||||
<owners>bootstrap</owners>
|
<owners>bootstrap</owners>
|
||||||
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
|
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
|
||||||
<releaseNotes>http://blog.getbootstrap.com</releaseNotes>
|
<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>
|
<language>en-us</language>
|
||||||
<projectUrl>http://getbootstrap.com</projectUrl>
|
<projectUrl>http://getbootstrap.com</projectUrl>
|
||||||
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
|
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user