mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-17 09:38:59 -05:00
Fixes Update-Icinga not updating to latest or specified version
This commit is contained in:
parent
093c5e7935
commit
17d884d87e
2 changed files with 4 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
* [#659](https://github.com/Icinga/icinga-powershell-framework/pull/659) Fixes configuration writer which publishes invalid Icinga plain configuration files
|
* [#659](https://github.com/Icinga/icinga-powershell-framework/pull/659) Fixes configuration writer which publishes invalid Icinga plain configuration files
|
||||||
|
* [#660](https://github.com/Icinga/icinga-powershell-framework/pull/660) Fixes `Update-Icinga` not updating to the latest available version for a component and specifying `-Version` is updating to the latest one instead of the given one instead
|
||||||
|
|
||||||
## 1.11.0 (2023-08-01)
|
## 1.11.0 (2023-08-01)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@ function Update-Icinga()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([string]::IsNullOrEmpty($Version) -eq $FALSE){
|
$NewVersion = $Component.LatestVersion;
|
||||||
$NewVersion = $Component.LatestVersion;
|
|
||||||
} else {
|
if ([string]::IsNullOrEmpty($Version) -eq $FALSE) {
|
||||||
$NewVersion = $Version;
|
$NewVersion = $Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue