From 1998ff3fa36c9ff0c46ded7394baa5ebfe32d75c Mon Sep 17 00:00:00 2001 From: Alexei Andreyev Date: Tue, 10 Nov 2015 11:21:18 +0000 Subject: [PATCH 1/2] Remove logic to skip PowerShellAccessControl module --- DSCResources/RS_rsModuleZipSum/RS_rsModuleZipSum.psm1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DSCResources/RS_rsModuleZipSum/RS_rsModuleZipSum.psm1 b/DSCResources/RS_rsModuleZipSum/RS_rsModuleZipSum.psm1 index 24cbb71..f35998f 100644 --- a/DSCResources/RS_rsModuleZipSum/RS_rsModuleZipSum.psm1 +++ b/DSCResources/RS_rsModuleZipSum/RS_rsModuleZipSum.psm1 @@ -56,9 +56,7 @@ Function Set-TargetResource { $moduleName = $($module, '_', $(((Get-Content -Path $((Join-Path $modulePath -ChildPath $module), $($module, ".psd1" -join '') -join '\')) -match "ModuleVersion") -replace 'ModuleVersion', '' -replace ' ', '' -replace '=', '' -replace "'", '' -replace '"', '').Trim() -join '') if(!(Test-Path -Path $(Join-Path $destination -ChildPath $($moduleName, '.zip' -join ''))) -or !($((Get-FileHash -Path $(Join-Path $destination -ChildPath $($moduleName, '.zip' -join '')) -ErrorAction SilentlyContinue).Hash) -eq $(Get-Content -Path $(Join-Path $destination -ChildPath $($moduleName, '.zip.checksum' -join '')) -ErrorAction SilentlyContinue))) { Remove-Item -Path $((Join-Path $destination -ChildPath $module), '*' -join '') -Force - if($module -ne "PowerShellAccessControl") { - New-ResourceZip -modulePath $(Join-Path $modulePath -ChildPath $module) -outputDir $destination - } + New-ResourceZip -modulePath $(Join-Path $modulePath -ChildPath $module) -outputDir $destination } } } From 77bdfc39609eb0034cfd0ef612388e611ffb3e2c Mon Sep 17 00:00:00 2001 From: Alexei Andreyev Date: Wed, 11 Nov 2015 14:15:24 +0000 Subject: [PATCH 2/2] Module version bump to 1.0.4 --- rsPackageSourceManager.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsPackageSourceManager.psd1 b/rsPackageSourceManager.psd1 index 0dcaa0d..4f95dc5 100644 --- a/rsPackageSourceManager.psd1 +++ b/rsPackageSourceManager.psd1 @@ -1,6 +1,6 @@ @{ # Version number of this module. -ModuleVersion = '1.0.3' +ModuleVersion = '1.0.4' # ID used to uniquely identify this module GUID = '28a61e12-3cec-4deb-938e-d20740b586dc'