Skip to content

Commit 3e55dbd

Browse files
committed
Fixes repo hash generator to only include zip/msi
1 parent 40d60ad commit 3e55dbd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/100-General/10-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
1414
### Bugfixes
1515

1616
* [#398](https://github.com/Icinga/icinga-powershell-framework/pull/398) Fixes String.Builder object output, while creating new components by using `New-IcingaForWindowsComponent`
17+
* [#399](https://github.com/Icinga/icinga-powershell-framework/issues/399) Fixes repository file hash generator, which now only includes .zip and .msi files, which otherwise turned into invalid hashes because of the repository index file always changing based on the assigned hash
1718
* [#401](https://github.com/Icinga/icinga-powershell-framework/pull/401) Fixes the repository manager by now using Icinga WebRequests instead of Windows WebRequests, allowing the usage of the internal proxy feature
1819

1920
## 1.7.0 (2021-11-09)

lib/core/repository/Get-IcingaRepositoryHash.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function Get-IcingaRepositoryHash()
99
return;
1010
}
1111

12-
$RepositoryFolder = Get-ChildItem -Path $Path -Recurse;
12+
$RepositoryFolder = Get-ChildItem -Path $Path -Recurse -Include '*.zip', '*.msi';
1313
$FileHashes = New-Object -TypeName 'System.Text.StringBuilder';
1414

1515
foreach ($entry in $RepositoryFolder) {

0 commit comments

Comments
 (0)