Skip to content

Commit bf8f6cb

Browse files
committed
#311 : Updated the minimal package name.
1 parent de854b6 commit bf8f6cb

File tree

1 file changed

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

1 file changed

+8
-7
lines changed

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

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

1818
# Clear test items:
1919
# Get-ChildItem 'master:\system\Modules\PowerShell\Script Library' -recurse | Where-Object { ($_.Name -match '\(test\)') } | Remove-Item
@@ -179,15 +179,16 @@ Download-File "$SitecorePackageFolder\$packageName.zip"
179179

180180
# Build Minimal Package
181181

182+
$minimalPackageName = "$($SitecorePackageFolder)\SPE Minimal-$($Version) for Sitecore $($SitecoreVersion.Major).zip"
182183
Import-Function -Name Compress-Archive
183184

184-
Compress-Archive -Path "$($AppPath)App_Config" -DestinationPath "$($SitecorePackageFolder)\SPE-$($Version) for Sitecore $($SitecoreVersion.Major) - CD.zip" -Include "Cognifide.PowerShell.config", "Cognifide.PowerShell.Minimal.config.disabled"
185-
Compress-Archive -Path "$($AppPath)bin" -DestinationPath "$($SitecorePackageFolder)\SPE-$($Version) for Sitecore $($SitecoreVersion.Major) - CD.zip" -Include "Cognifide.PowerShell.dll", "Cognifide.PowerShell.VersionSpecific.dll" -Update
186-
Compress-Archive -Path "$($AppPath)sitecore modules" -DestinationPath "$($SitecorePackageFolder)\SPE-$($Version) for Sitecore $($SitecoreVersion.Major) - CD.zip" -Include "web.config", "RemoteAutomation.asmx" -Update
185+
Compress-Archive -Path "$($AppPath)App_Config" -DestinationPath $minimalPackageName -Include "Cognifide.PowerShell.config", "Cognifide.PowerShell.Minimal.config.disabled"
186+
Compress-Archive -Path "$($AppPath)bin" -DestinationPath $minimalPackageName -Include "Cognifide.PowerShell.dll", "Cognifide.PowerShell.VersionSpecific.dll" -Update
187+
Compress-Archive -Path "$($AppPath)sitecore modules" -DestinationPath $minimalPackageName -Include "web.config", "RemoteAutomation.asmx" -Update
187188
----version----
188189
language: en
189190
version: 1
190-
revision: c82911ea-8ae3-4f9c-9f94-aea8723ebb6b
191+
revision: c75adbab-fda4-4e16-8dca-10f11ac535a0
191192

192193
----field----
193194
field: {25BED78C-4957-4165-998A-CA1B52F67497}
@@ -202,14 +203,14 @@ name: __Revision
202203
key: __revision
203204
content-length: 36
204205

205-
c82911ea-8ae3-4f9c-9f94-aea8723ebb6b
206+
c75adbab-fda4-4e16-8dca-10f11ac535a0
206207
----field----
207208
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
208209
name: __Updated
209210
key: __updated
210211
content-length: 35
211212

212-
20150731T221906:635739779469719130Z
213+
20150801T181400:635740496405240757Z
213214
----field----
214215
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
215216
name: __Updated by

0 commit comments

Comments
 (0)