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

Support passing versions via build.psd1 #129

Merged
merged 5 commits into from
Mar 17, 2024
Merged

Support passing versions via build.psd1 #129

merged 5 commits into from
Mar 17, 2024

Conversation

Jaykul
Copy link
Member

@Jaykul Jaykul commented Mar 7, 2024

NOTE: I don't think it's very likely that people would pass the version this way, unless they were generating build.psd1 in their build -- but our docs say you can set any parameter via build.psd1, and I don't see why this shouldn't work.

@gaelcolas
Copy link
Contributor

All good I think.

Copy link
Contributor

@gaelcolas gaelcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Since you moved some of the SemVer sanitation into InitializeBuild, I'm not 100% sure all the cases are covered when the value is passed by parameters.
But I'm a bit tired and haven't looked at BuildModule's code for a long time...
I'll find out prettty quickly if it breaks anyway :D

@Jaykul Jaykul merged commit 0ade8f4 into main Mar 17, 2024
9 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.

2 participants