2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03: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
+2 -3
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