Skip to content

Publish should find prerelease dependency versions. #1283

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

Merged
merged 7 commits into from
Jul 25, 2023

Conversation

anamnavi
Copy link
Member

@anamnavi anamnavi commented Jul 24, 2023

When finding dependency packages for Publish, detect prerelease versions of the dependency packages if specific version is not specified.

Additionally, when writing tests we found that LocalServerApi.InstallVersion() File.Exists() call fails for Linux as Linux is case sensitive platform. Using wildcard matching should allow the (dep) package to be found. Currently it is not able to be found.

Also undoes changes of PR #1276 as that solution towards the case sensitivity issue for Linux was not sufficient/correct.

PR Summary

PR Context

Resolves #1250

PR Checklist

@anamnavi anamnavi changed the title fix InstallVersion() for local server Publish should find prerelease dependency versions. Jul 25, 2023
@anamnavi anamnavi added PR-Bug This pull request resolves an issue bug Release This pull request is part the next release labels Jul 25, 2023
@anamnavi anamnavi merged commit 9ffc03a into PowerShell:master Jul 25, 2023
@SydneyhSmith SydneyhSmith removed PR-Bug This pull request resolves an issue bug Release This pull request is part the next release labels Aug 14, 2023
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.

Publishing module that requires prerelease module fails
3 participants