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

Tabs to spaces.

[ci skip]
This commit is contained in:
XhmikosR 2016-07-12 22:56:07 +03:00
parent c2bb71e4ae
commit 278a563241
3 changed files with 21 additions and 21 deletions

View File

@ -4,15 +4,15 @@
$nuget = $env:NuGet $nuget = $env:NuGet
#parse the version number out of package.json # 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 '-' $bsversionParts = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version.split('-', 2) # split the version on the '-'
$bsversion = $bsversionParts[0] $bsversion = $bsversionParts[0]
if($bsversionParts.Length -gt 1) if ($bsversionParts.Length -gt 1)
{ {
$bsversion += '-' + $bsversionParts[1].replace('.', '').replace('-', '_') #strip out invalid chars from the PreRelease part $bsversion += '-' + $bsversionParts[1].replace('.', '').replace('-', '_') # strip out invalid chars from the PreRelease part
} }
#create packages # create packages
& $nuget pack "$env:SourcesPath\nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion & $nuget pack "$env:SourcesPath\nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
& $nuget pack "$env:SourcesPath\nuget\bootstrap.sass.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion & $nuget pack "$env:SourcesPath\nuget\bootstrap.sass.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion

View File

@ -6,19 +6,19 @@
<title>Bootstrap CSS</title> <title>Bootstrap CSS</title>
<authors>The Bootstrap Authors, Twitter Inc.</authors> <authors>The Bootstrap 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>
<licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl> <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl>
<copyright>Copyright 2016</copyright> <copyright>Copyright 2016</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies> <dependencies>
<dependency id="jQuery" version="3.0.0.1" /> <dependency id="jQuery" version="3.0.0.1" />
</dependencies> </dependencies>
<tags>css js less mobile-first responsive front-end framework web</tags> <tags>css js less mobile-first responsive front-end framework web</tags>
</metadata> </metadata>
<files> <files>
<file src="dist\css\*.*" target="content\Content" /> <file src="dist\css\*.*" target="content\Content" />

View File

@ -6,19 +6,19 @@
<title>Bootstrap Sass</title> <title>Bootstrap Sass</title>
<authors>The Bootstrap Authors, Twitter Inc.</authors> <authors>The Bootstrap 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 Sass. Includes fonts and JavaScript</summary> <summary>Bootstrap framework in Sass. 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>
<licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl> <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl>
<copyright>Copyright 2016</copyright> <copyright>Copyright 2016</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies> <dependencies>
<dependency id="jQuery" version="3.0.0.1" /> <dependency id="jQuery" version="3.0.0.1" />
</dependencies> </dependencies>
<tags>css js less mobile-first responsive front-end framework web</tags> <tags>css js less mobile-first responsive front-end framework web</tags>
</metadata> </metadata>
<files> <files>
<file src="scss\**\*.scss" target="content\Content\bootstrap" /> <file src="scss\**\*.scss" target="content\Content\bootstrap" />