Remove snupkg aka newer Symbol nuget packages
This commit is contained in:
+10
-10
@@ -15,7 +15,7 @@
|
|||||||
[Parameter(Mandatory=$false)]
|
[Parameter(Mandatory=$false)]
|
||||||
[Alias("doc")]
|
[Alias("doc")]
|
||||||
[switch] $docfx = $false,
|
[switch] $docfx = $false,
|
||||||
|
|
||||||
# keep the build directories, don't clear them
|
# keep the build directories, don't clear them
|
||||||
[Parameter(Mandatory=$false)]
|
[Parameter(Mandatory=$false)]
|
||||||
[Alias("c")]
|
[Alias("c")]
|
||||||
@@ -392,13 +392,13 @@
|
|||||||
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Core.nuspec" `
|
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Core.nuspec" `
|
||||||
-Properties BuildTmp="$($this.BuildTemp)" `
|
-Properties BuildTmp="$($this.BuildTemp)" `
|
||||||
-Version "$($this.Version.Semver.ToString())" `
|
-Version "$($this.Version.Semver.ToString())" `
|
||||||
-Symbols -SymbolPackageFormat snupkg -Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmscore.log"
|
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmscore.log"
|
||||||
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Core." }
|
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Core." }
|
||||||
|
|
||||||
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Web.nuspec" `
|
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Web.nuspec" `
|
||||||
-Properties BuildTmp="$($this.BuildTemp)" `
|
-Properties BuildTmp="$($this.BuildTemp)" `
|
||||||
-Version "$($this.Version.Semver.ToString())" `
|
-Version "$($this.Version.Semver.ToString())" `
|
||||||
-Symbols -SymbolPackageFormat snupkg -Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmsweb.log"
|
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmsweb.log"
|
||||||
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Web." }
|
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Web." }
|
||||||
|
|
||||||
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.nuspec" `
|
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.nuspec" `
|
||||||
@@ -429,37 +429,37 @@
|
|||||||
Write-Host "Prepare Azure Gallery"
|
Write-Host "Prepare Azure Gallery"
|
||||||
$this.CopyFile("$($this.SolutionRoot)\build\Azure\azuregalleryrelease.ps1", $this.BuildOutput)
|
$this.CopyFile("$($this.SolutionRoot)\build\Azure\azuregalleryrelease.ps1", $this.BuildOutput)
|
||||||
})
|
})
|
||||||
|
|
||||||
$ubuild.DefineMethod("PrepareCSharpDocs",
|
$ubuild.DefineMethod("PrepareCSharpDocs",
|
||||||
{
|
{
|
||||||
Write-Host "Prepare C# Documentation"
|
Write-Host "Prepare C# Documentation"
|
||||||
|
|
||||||
$src = "$($this.SolutionRoot)\src"
|
$src = "$($this.SolutionRoot)\src"
|
||||||
$tmp = $this.BuildTemp
|
$tmp = $this.BuildTemp
|
||||||
$out = $this.BuildOutput
|
$out = $this.BuildOutput
|
||||||
$DocFxJson = Join-Path -Path $src "\ApiDocs\docfx.json"
|
$DocFxJson = Join-Path -Path $src "\ApiDocs\docfx.json"
|
||||||
$DocFxSiteOutput = Join-Path -Path $tmp "\_site\*.*"
|
$DocFxSiteOutput = Join-Path -Path $tmp "\_site\*.*"
|
||||||
|
|
||||||
|
|
||||||
#restore nuget packages
|
#restore nuget packages
|
||||||
$this.RestoreNuGet()
|
$this.RestoreNuGet()
|
||||||
# run DocFx
|
# run DocFx
|
||||||
$DocFx = $this.BuildEnv.DocFx
|
$DocFx = $this.BuildEnv.DocFx
|
||||||
|
|
||||||
& $DocFx metadata $DocFxJson
|
& $DocFx metadata $DocFxJson
|
||||||
& $DocFx build $DocFxJson
|
& $DocFx build $DocFxJson
|
||||||
|
|
||||||
# zip it
|
# zip it
|
||||||
& $this.BuildEnv.Zip a -tzip -r "$out\csharp-docs.zip" $DocFxSiteOutput
|
& $this.BuildEnv.Zip a -tzip -r "$out\csharp-docs.zip" $DocFxSiteOutput
|
||||||
})
|
})
|
||||||
|
|
||||||
$ubuild.DefineMethod("PrepareAngularDocs",
|
$ubuild.DefineMethod("PrepareAngularDocs",
|
||||||
{
|
{
|
||||||
Write-Host "Prepare Angular Documentation"
|
Write-Host "Prepare Angular Documentation"
|
||||||
|
|
||||||
$src = "$($this.SolutionRoot)\src"
|
$src = "$($this.SolutionRoot)\src"
|
||||||
$out = $this.BuildOutput
|
$out = $this.BuildOutput
|
||||||
|
|
||||||
$this.CompileBelle()
|
$this.CompileBelle()
|
||||||
|
|
||||||
"Moving to Umbraco.Web.UI.Client folder"
|
"Moving to Umbraco.Web.UI.Client folder"
|
||||||
|
|||||||
Reference in New Issue
Block a user