Merged
Conversation
Rename the temporary output variable from $PSObject to $Object and add logic to remove the Sha256 property when the asset has no digest. This prevents emitting an empty Sha256 field for Windows assets and ensures the output object only contains the digest when present.
Add a case for 'winmsi' in Get-InstallerType to map it to 'MSI'. This ensures strings containing 'winmsi' are detected as MSI installer types instead of falling back to the default.
Update Get-Architecture switch cases to improve recognition and correctness. Adds an "anycpu" mapping to return AnyCPU, changes the "arm" input to map to "ARM" (was incorrectly mapping to ARM64), and normalizes/rewrites several existing cases for consistency and clarity. Defaults and verbose behavior unchanged.
Replace references to the old docs site (https://eucpilots.com/evergreen-docs) with the new base URL (https://eucpilots.com/evergreen) across the repo. Updates include .github issue templates, config, README, CHANGELOG, Evergreen module metadata (Evergreen.json, Evergreen.psd1), help markdown and generated XML help files, and related help paths/links (troubleshoot, issues, changelog, newlibrary, etc.). This is a documentation URL migration and does not change runtime logic.
Change 'AnyCPU' output to 'any' in Get-Architecture.ps1 to standardize architecture identifiers. This makes the AnyCPU case emit a lowercase, simplified token to match other architecture values and downstream tooling expectations.
Update Get-InstallerType.ps1 to recognize new installer tokens 'ndm', 'qt6', and 'qt5', mapping them to 'NonDarkMode', 'Qt6', and 'Qt5'. Also normalize switch-case formatting for improved readability; default behavior remains unchanged.
Update Get-InstallerType.ps1 to add mappings for new installer keywords: 'grouppolicy' -> GroupPolicy, 'minimalist' -> Minimal, and 'noadmin' -> NoAdmin. Reorder and consolidate existing switch entries (portable, no-installer, debug, user, winmsi, qt6, etc.) for clarity; default behavior remains unchanged.
Test Results 1 files 1 236 suites 7m 39s ⏱️ Results for commit ac4fdbd. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Get-GitHubRepoRelease- Add logic to remove the Sha256 property when the asset has no digest. This prevents emitting an empty Sha256 field for Windows assets and ensures the output object only contains the digest when presentGet-InstallerType- Add more output strings to provide more values toInstallerTypeproperty. Address #124Get-Architecture