-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: installing same LTS-T opsman version doesn't force-reinstall
- Previously when running om vm-lifecycle upgrade-opsman, if the version to install had a filename with just a 3-digit semver, and it was the same version as what was currently installed, om would erroneously conclude the versions were different and kick off an "upgrade". - This was because the OpsMan team changed their filename format from X.Y.Z-build.A in OpsMan 2.5.0-3.0.4, to X.Y.Z in OpsMan 3.0.5+LTS-T and beyond. So for 3.0.5+LTS-T onwards, the filename said X.Y.Z but the OpsMan endpoint still gave X.Y.Z-build.A, and our comparison function would report they were different versions. - Now we're just comparing the core X.Y.Z everywhere, for consistency. [#186712778]
- Loading branch information
Showing
2 changed files
with
152 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters