2015-06-25 21:08:03 +02:00
|
|
|
$nuget = $env:NuGet
|
|
|
|
|
2016-07-14 09:55:43 +02:00
|
|
|
# parse the version number out of package.json
|
2015-06-26 18:15:12 +02:00
|
|
|
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version
|
2015-06-25 21:08:03 +02:00
|
|
|
|
2016-07-14 09:55:43 +02:00
|
|
|
# create packages
|
2015-06-25 21:08:03 +02:00
|
|
|
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|
2016-07-14 09:55:43 +02:00
|
|
|
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|