diff --git a/Public/Update-ModuleFromCache.ps1 b/Public/Update-ModuleFromCache.ps1 index e89dd9f..3da674a 100644 --- a/Public/Update-ModuleFromCache.ps1 +++ b/Public/Update-ModuleFromCache.ps1 @@ -31,7 +31,7 @@ function Update-ModuleFromCache { Write-Log -Message "checking module $M1 for updatable version" $FoundOnline = $true $ModuleOnline = ConvertFrom-Json ($_.Line) - if ($AllModules) { + if ($SearchAll) { $LocalModule = $AllModules | where Name -eq $M1 | Sort-Object Version | Select -Last 1 } else { Write-Log -Message "searching for local module $M1" diff --git a/README.md b/README.md index 8ab83ad..97f3506 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # PowerShell's apt-get update -This module provides functionality for PowerShellGet inspired by `apt-get update` Linux command. This is only proof-of-concept work, though it is (almost) fully functional. +This module provides functionality for PowerShellGet inspired by Linux command `apt-get update`. You can **100 times faster** search for online modules, scripts, updatable modules, etc. + +*This is only proof-of-concept work, though it is (almost) fully functional.* ## Explanation diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 4791af7..057f6a1 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -2,6 +2,15 @@ Release notes for PowerShell module **`psaptgetupdate`** by [github.com/iricigor](https://github.com/iricigor) +## 1.0.1 + +Date: Wednesday, November 28, 2018 + +### Bug fixes in 1.0.1 + +- Import-Module on clean system does not throw an error (no changes in functionality) +- Update-Module properly checks for local module version + ## 1.0 Date: Monday, November 26, 2018 diff --git a/psaptgetupdate.psd1 b/psaptgetupdate.psd1 index 9be3a26..9a7e219 100644 --- a/psaptgetupdate.psd1 +++ b/psaptgetupdate.psd1 @@ -12,7 +12,7 @@ RootModule = '.\PSAptGetUpdate.psm1' # Version number of this module. -ModuleVersion = '1.0' +ModuleVersion = '1.0.1' # Supported PSEditions # CompatiblePSEditions = @() @@ -30,7 +30,7 @@ Author = 'iiric' Copyright = '(c) 2018 iiric. All rights reserved.' # Description of the functionality provided by this module -Description = 'This module provides functionality for PowerShellGet inspired by apt-get update Linux command. It means 100 times faster checks for Find-Module, Update-Module, etc. This is only proof-of-concept work, though it is (almost) fully functional.' +Description = 'This module provides functionality for PowerShellGet inspired by Linux command apt-get update. You can 100 times faster search for online modules, scripts, updatable modules, etc. This is only proof-of-concept work, though it is (almost) fully functional.' # Minimum version of the Windows PowerShell engine required by this module # PowerShellVersion = '' @@ -107,7 +107,7 @@ PrivateData = @{ IconUri = 'https://raw.githubusercontent.com/iricigor/psaptgetupdate/master/Images/psaptgetupdate-icon-256.png' # ReleaseNotes of this module - ReleaseNotes = 'Fully documented module; for more info see https://github.com/iricigor/psaptgetupdate/blob/master/ReleaseNotes.md' + ReleaseNotes = 'Fully documented module; Bug fixes; for more info see https://github.com/iricigor/psaptgetupdate/blob/master/ReleaseNotes.md' } # End of PSData hashtable