Skip to content

Handle rc releases in the Windows Script#58

Merged
twangboy merged 3 commits into
saltstack:mainfrom
twangboy:handle_rc_win
Apr 24, 2026
Merged

Handle rc releases in the Windows Script#58
twangboy merged 3 commits into
saltstack:mainfrom
twangboy:handle_rc_win

Conversation

@twangboy
Copy link
Copy Markdown
Contributor

What does this PR do?

This change updates how svtminion.ps1 discovers and ranks Salt onedir versions from the index at -Source. latest and major-series requests (for example 3006) now resolve only to GA CalVer directory names (digits and dots). Prerelease directories (names containing segments like rc or dev) are excluded from those aggregations but remain installable when -MinionVersion matches the exact directory name (for example 3008.0rc1).

Previous Behavior

The script was crashing with the new release of 3008.0rc1

New Behavior

RC releases are now only installable via exact version name. Latest and major install the latest available GA version or the latest available GA version for the major branch you specified.

@twangboy twangboy merged commit 6a00c5f into saltstack:main Apr 24, 2026
7 of 12 checks passed
@twangboy twangboy deleted the handle_rc_win branch April 24, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant