Fixes OSBS-7094
Add an additional warning when using --release with container-build that the results may not be intented and that --target should be used instead.
Signed-off-by: Mark Langsdorf mlangsdo@redhat.com
rebased onto d804bc7dda6d6831aa9c9559ad66d7a81614ec82
Isn't it late to display a warning when the container build is running? Is it expected that the user will terminate the build quickly when sees the warning?
I can't see a way to warn them at any other time. They have to submit the flawed command before anything can happen.
Ok, let's do this way you proposed.
Commit d190d105 fixes this pull-request
Pull-Request has been merged by onosek
Fixes OSBS-7094
Add an additional warning when using --release with container-build that
the results may not be intented and that --target should be used instead.
Signed-off-by: Mark Langsdorf mlangsdo@redhat.com