mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
9 lines
521 B
PowerShell
9 lines
521 B
PowerShell
|
$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]
|
||
|
|
||
|
#create packages
|
||
|
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|
||
|
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|