Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes faulty explicit version ordering #1095

Merged
merged 1 commit into from
Jun 28, 2017
Merged

Removes faulty explicit version ordering #1095

merged 1 commit into from
Jun 28, 2017

Conversation

absolutejam
Copy link

What does this PR do?

Changes the version ordering to rely on the correct ordering already present in the repo, and selects the last (Most recent) version. This removes the explicit ordering done with Select-Object -Descending as this works alphabetically and does not correctly order versions (eg. .11 comes before .2).

What issues does this PR fix or reference?

#1094

Previous Behavior

Not passing -version would fetch the wrong version, where it should fetch the latest.

New Behavior

Now correctly fetches latest version.

@rallytime
Copy link
Contributor

@twangboy Can you review this PR when you have a moment?

@rallytime rallytime requested a review from twangboy June 12, 2017 14:55
@rallytime
Copy link
Contributor

@twangboy Bump for a review here. :)

@rallytime rallytime merged commit 40faff6 into saltstack:develop Jun 28, 2017
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.

None yet

3 participants