Skip to content

Commit db412dc

Browse files
committed
Package script minor fixes.
1 parent 7156b67 commit db412dc

File tree

1 file changed

+9
-9
lines changed
  • Cognifide.PowerShell/Data/serialization/master/sitecore/system/Modules/PowerShell/Script Library/Platform/Development/PowerShell Extensions Maintenance

1 file changed

+9
-9
lines changed

Cognifide.PowerShell/Data/serialization/master/sitecore/system/Modules/PowerShell/Script Library/Platform/Development/PowerShell Extensions Maintenance/Prepare Console Distribution.item

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ templatekey: PowerShell Script
1313
field: {B1A94FF0-6897-47C0-9C51-AA6ACB80B1F0}
1414
name: Script
1515
key: script
16-
content-length: 9492
16+
content-length: 9536
1717

1818
# Clear test items:
1919
# Get-ChildItem 'master:\system\Modules\PowerShell\Script Library' -recurse | Where-Object { ($_.Name -match '\(test\)') } | Remove-Item
2020

21-
if([Cognifide.PowerShell.Core.VersionDecoupling.VersionResolver]::IsVersionHigherOrEqual([Cognifide.PowerShell.Core.VersionDecoupling.VersionResolver]::SitecoreVersion71)){
21+
if([Cognifide.PowerShell.Core.VersionDecoupling.VersionResolver]::IsVersionHigherOrEqual([Cognifide.PowerShell.Core.VersionDecoupling.VersionResolver]::SitecoreVersion80)){
2222
$sitecore7Warning = ""
2323
} else {
2424
(Get-Item "core:\content\Applications\PowerShell\PowerShell Runner").Chrome = "WindowChrome"
@@ -185,22 +185,22 @@ Import-Function -Name Compress-Archive
185185

186186
$minimalPackageName = "$($SitecorePackageFolder)\SPE Minimal-$($Version) for Sitecore $($SitecoreVersion.Major).zip"
187187

188-
Compress-Archive -Path "$($AppPath)App_Config" -DestinationPath $minimalPackageName -Include "Cognifide.PowerShell.config", "Cognifide.PowerShell.Minimal.config.disabled"
189-
Compress-Archive -Path "$($AppPath)bin" -DestinationPath $minimalPackageName -Include "Cognifide.PowerShell.dll", "Cognifide.PowerShell.VersionSpecific.dll" -Update
190-
Compress-Archive -Path "$($AppPath)sitecore modules" -DestinationPath $minimalPackageName -Include "web.config", "RemoteAutomation.asmx" -Update
188+
Compress-Archive -Path "$($AppPath)App_Config" -DestinationPath $minimalPackageName -Include "Cognifide.PowerShell.config", "Cognifide.PowerShell.Minimal.config.disabled" | Out-Null
189+
Compress-Archive -Path "$($AppPath)bin" -DestinationPath $minimalPackageName -Include "Cognifide.PowerShell.dll", "Cognifide.PowerShell.VersionSpecific.dll" -Update | Out-Null
190+
Compress-Archive -Path "$($AppPath)sitecore modules" -DestinationPath $minimalPackageName -Include "web.config", "RemoteAutomation.asmx" -Update | Out-Null
191191

192192
# Build Remoting Package
193193

194194
$remotingSourcePath = (Get-Item -Path $AppPath).Parent.FullName
195195
if(Test-Path -Path $remotingSourcePath) {
196196
$remotingPackageName = "$($SitecorePackageFolder)\SPE Remoting-$($Version).zip"
197197

198-
Compress-Archive -Path "$($remotingSourcePath)\Modules\SPE\" -DestinationPath $remotingPackageName
198+
Compress-Archive -Path "$($remotingSourcePath)\Modules\SPE\" -DestinationPath $remotingPackageName | Out-Null
199199
}
200200
----version----
201201
language: en
202202
version: 1
203-
revision: 26e2a942-59aa-47a3-86a3-490ed42ad175
203+
revision: 4dbe55ce-031c-42e1-b96a-d78487c71f46
204204

205205
----field----
206206
field: {25BED78C-4957-4165-998A-CA1B52F67497}
@@ -215,14 +215,14 @@ name: __Revision
215215
key: __revision
216216
content-length: 36
217217

218-
26e2a942-59aa-47a3-86a3-490ed42ad175
218+
4dbe55ce-031c-42e1-b96a-d78487c71f46
219219
----field----
220220
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
221221
name: __Updated
222222
key: __updated
223223
content-length: 15
224224

225-
20150902T142611
225+
20150903T002810
226226
----field----
227227
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
228228
name: __Updated by

0 commit comments

Comments
 (0)