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

Update version output for -v and --version flags #12569

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

nywilken
Copy link
Contributor

The flags -v and --version are handled by the CLI runner, which
outputs the raw version string. This change shortcuts the handling of
the flags to force Packer to run the version subcommand.

Closes: #12565

The flags -v and --version are handled by the CLI runner, which
outputs the raw version string. This change shortcuts the handling of
the flags to force Packer to run the version subcommand.

Closes: #12565
@nywilken nywilken requested a review from a team as a code owner August 11, 2023 15:06
@nywilken nywilken added enhancement backport/1.9.x Backport PR changes to `release/1.9.x` labels Aug 11, 2023
Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

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

LGTM!

@nywilken nywilken removed the backport/1.9.x Backport PR changes to `release/1.9.x` label Aug 25, 2023
@nywilken nywilken merged commit 48e8c3e into main Aug 28, 2023
@nywilken nywilken deleted the nywilken/shortcut-version-flag branch August 28, 2023 18:59
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

packer version has different output
2 participants