mirror of
https://github.com/supanadit/todo.git
synced 2024-11-14 04:12:18 +00:00
9 lines
471 B
PowerShell
9 lines
471 B
PowerShell
|
$nuget = $env:NuGet
|
||
|
|
||
|
# 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
|
||
|
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|