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

Correct --release build_args parsing #3668

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

andrew-m-leonard
Copy link
Contributor

@andrew-m-leonard andrew-m-leonard commented Feb 22, 2024

Incorrect "shift" when parsing --release
Fixes #3667

In our release builds the next option happened to be --clean-libs, which was being ignored!

@andrew-m-leonard andrew-m-leonard self-assigned this Feb 22, 2024
@andrew-m-leonard
Copy link
Contributor Author

Successful test:
10:39:21 Parsing opt: --release
10:39:21 Possible opt arg: --create-sbom
10:39:21 Parsing opt: --create-sbom

--release now not consuming --create-sbom in this test

Copy link
Contributor

@steelhead31 steelhead31 left a comment

Choose a reason for hiding this comment

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

LGTM

@karianna karianna merged commit 665202e into adoptium:master Feb 23, 2024
24 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.

--release parsing shifts the next parameter incorrectly thus consuming an option that does not get processed
3 participants