12345678910111213141516171819 |
- $nuget = $env:NuGet
- Copy-Item $env:SourcesPath\LICENSE $env:SourcesPath\LICENSE.txt
- $bsversionParts = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version.split('-', 2)
- $bsversion = $bsversionParts[0]
- if ($bsversionParts.Length -gt 1) {
- $bsversion += '-' + $bsversionParts[1].replace('.', '').replace('-', '_')
- }
- & $nuget pack "$env:SourcesPath\nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
- & $nuget pack "$env:SourcesPath\nuget\bootstrap.sass.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
|