Skip to content

fix(linux): GA-only latest/major version pick; exact RC dirs; integration tests#59

Merged
twangboy merged 1 commit into
saltstack:mainfrom
twangboy:handle_rc_linux
Apr 24, 2026
Merged

fix(linux): GA-only latest/major version pick; exact RC dirs; integration tests#59
twangboy merged 1 commit into
saltstack:mainfrom
twangboy:handle_rc_linux

Conversation

@twangboy
Copy link
Copy Markdown
Contributor

What does this PR do?

Align _get_desired_salt_version_fn with Windows: filter GA CalVer dirs for latest, default branch, and four-digit major; require exact directory match or legacy pattern for prerelease; fail when no GA exists for major/latest.

Extend tests/linux/test-linux.sh: default testarea latest stays on 3007.1 GA when 3008.0rc1 is present; -m 3008 leaves minion uninstalled without GA; -m 3008.0rc1 installs RC (needs matching linux--onedir-.tar.xz in testarea).

…tion tests

Align _get_desired_salt_version_fn with Windows: filter GA CalVer dirs for
latest, default branch, and four-digit major; require exact directory match
or legacy pattern for prerelease; fail when no GA exists for major/latest.

Extend tests/linux/test-linux.sh: default testarea latest stays on 3007.1 GA
when 3008.0rc1 is present; -m 3008 leaves minion uninstalled without GA;
-m 3008.0rc1 installs RC (needs matching linux-*-onedir-*.tar.xz in testarea).
@twangboy twangboy merged commit 86b8df2 into saltstack:main Apr 24, 2026
7 of 12 checks passed
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