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